Class: Log4r::ColorOutputter
- Inherits:
-
IOOutputter
- Object
- Monitor
- Outputter
- IOOutputter
- Log4r::ColorOutputter
- Defined in:
- lib/log4r-color/outputter/consoleoutputters.rb
Instance Attribute Summary
Attributes inherited from Outputter
#colors, #formatter, #level, #name
Instance Method Summary collapse
-
#initialize(_name, hash = {}) ⇒ ColorOutputter
constructor
A new instance of ColorOutputter.
Methods inherited from IOOutputter
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-color/outputter/consoleoutputters.rb', line 21 def initialize(_name, hash={}) super(_name, $stdout, hash) end |