Class: Proselytism::Logger

Inherits:
ActiveSupport::BufferedLogger
  • Object
show all
Defined in:
lib/proselytism/logger.rb

Defined Under Namespace

Classes: Formatter

Instance Method Summary collapse

Constructor Details

#initialize(log, level = DEBUG) ⇒ Logger

Returns a new instance of Logger.



11
12
13
14
# File 'lib/proselytism/logger.rb', line 11

def initialize(log, level = DEBUG)
  super(log, level)
  @log.formatter = Formatter.new
end