Class: Log4r::ColorOutputter

Inherits:
IOOutputter show all
Defined in:
lib/log4r/outputter/consoleoutputters.rb

Instance Attribute Summary

Attributes inherited from Outputter

#colors, #formatter, #level, #name

Instance Method Summary collapse

Methods inherited from IOOutputter

#close, #closed?

Methods inherited from Outputter

[], []=, color, each, each_outputter, #flush, #level_key, #only_at, stderr, stdout

Constructor Details

#initialize(_name, hash = {}) ⇒ ColorOutputter

Returns a new instance of ColorOutputter.



21
22
23
# File 'lib/log4r/outputter/consoleoutputters.rb', line 21

def initialize(_name, hash={})
  super(_name, $stdout, hash)
end