Module: LogGraft::ClassMethods

Defined in:
lib/log_graft.rb

Instance Method Summary collapse

Instance Method Details

#loggerObject



15
16
17
# File 'lib/log_graft.rb', line 15

def logger
  @logger ||= Logger.new(STDERR)
end

#logger=(logger) ⇒ Object



11
12
13
# File 'lib/log_graft.rb', line 11

def logger=(logger)
  @logger = logger
end