Class: RDO::ColoredLogger
- Inherits:
-
Logger
- Object
- Logger
- RDO::ColoredLogger
- Defined in:
- lib/rdo/colored_logger.rb
Overview
A Logger that outputs using color to highlight errors etc.
Instance Method Summary collapse
-
#initialize(*args) ⇒ ColoredLogger
constructor
A new instance of ColoredLogger.
Constructor Details
#initialize(*args) ⇒ ColoredLogger
Returns a new instance of ColoredLogger.
13 14 15 16 17 |
# File 'lib/rdo/colored_logger.rb', line 13 def initialize(*args) super @colors = [35, 36] self.formatter = color_formatter end |