lib/boris/lumberjack.rb in boris-1.0.1 vs lib/boris/lumberjack.rb in boris-1.0.2
- old
+ new
@@ -1,7 +1,7 @@
class BorisLogger < Logger
- def initialize(output)
- super(output)
+ def initialize(log_device)
+ super(log_device)
self.datetime_format = '%m-%d-%Y %H:%M:%S'
self.formatter = proc do |severity, time, progname, msg|
sprintf("%-5s %-24s %-27s %-s\n", severity, time, progname, msg)