spec/log4r_logger_spec.rb in slf4r-0.3.0 vs spec/log4r_logger_spec.rb in slf4r-0.3.1
- old
+ new
@@ -10,10 +10,10 @@
load basedir + 'lib' + 'slf4r' + 'log4r_logger.rb'
require 'slf4r/log4r_logger'
Log4r::Logger.root.level = Log4r::DEBUG
-out = Log4r::FileOutputter.new('logfile',
+out = Log4r::FileOutputter.new('logfile',
:filename => (basedir + 'tmp' + 'log4r.txt').to_s,
:trunc=>false,
:level => Log4r::DEBUG)
logger = Log4r::Logger.new("log4r")
logger.add('logfile')