Padrino::Logger::Colorize
Module: Padrino::Logger::Colorize
Constant Summary
- ColoredLevels =
{ :fatal => [:bold, :red], :error => [:default, :red], :warn => [:default, :yellow], :info => [:default, :green], :debug => [:default, :cyan], :devel => [:default, :magenta] }
Instance Method Summary
-
#colorize(string, *colors) ⇒ Object
Colorize our level. -
#stylized_level(level) ⇒ Object
Instance Method Details
#colorize(string, *colors) ⇒ Object
Colorize our level.
#stylized_level(level) ⇒ Object
© 2010–2016 Padrino
Licensed under the MIT License.
http://www.rubydoc.info/github/padrino/padrino-framework/Padrino/Logger/Colorize