Class: Cch::Loggers::Stdout
- Inherits:
-
Object
- Object
- Cch::Loggers::Stdout
- Defined in:
- lib/cch/loggers/stdout.rb
Instance Method Summary collapse
Instance Method Details
#log(level, message, time = Time.new) ⇒ Object
4 5 6 7 8 |
# File 'lib/cch/loggers/stdout.rb', line 4 def log(level, , time = Time.new) = "=> #{'cch'.color(:cyan)} [#{time}] [#{level}] - #{message}" puts end |