lib/hedgelog.rb in hedgelog-0.2.0 vs lib/hedgelog.rb in hedgelog-0.2.1.alpha1
- old
+ new
@@ -23,10 +23,10 @@
BACKTRACE_RE = Regexp.new("([^:]+):([0-9]+)(?::in `(.*)')?")
attr_reader :level
attr_writer :app
- def initialize(logdev = STDOUT, shift_age = nil, shift_size = nil, cleaner=nil)
+ def initialize(logdev = STDOUT, shift_age = nil, shift_size = nil, cleaner = nil)
@level = LEVELS[:debug]
@channel = nil
@logdev = nil
@app = nil
@scrubber = Hedgelog::Scrubber.new(cleaner)