Class: SimpleLogger::Logger
Constant Summary
Constants inherited from Plain
Instance Attribute Summary
Attributes inherited from Plain
#auto_flush, #buffer, #delimiter, #init_args, #level, #log
Class Method Summary collapse
Methods inherited from Plain
#<<, #close, #flush, #initialize, #set_log
Constructor Details
This class inherits a constructor from SimpleLogger::Plain
Class Method Details
.colors ⇒ Object
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/simple-logger/logger.rb', line 13 def self.colors @@colors ||= { fatal: "red.bold", error: "red", warn: "yellow", info: "green", debug: "cyan", custom: "magenta" } end |