Make a way to enable debugg logs

This commit is contained in:
Jordan Sissel 2012-12-31 13:38:07 -08:00
parent edb0127858
commit 8eeabcd43d

View file

@ -13,6 +13,11 @@ if RUBY_VERSION < "1.9.2"
raise LoadError
end
if ENV["TEST_DEBUG"]
Cabin::Channel.get.level = :debug
Cabin::Channel.get.subscribe(STDOUT)
end
module LogStash
module RSpec
def config(configstr)