Method: SemanticLogger::Formatters::Color#call
- Defined in:
- lib/semantic_logger/formatters/color.rb
#call(log, logger) ⇒ Object
129 130 131 132 |
# File 'lib/semantic_logger/formatters/color.rb', line 129 def call(log, logger) self.color = color_map[log.level] super(log, logger) end |