class Kitchen::Logger::StdoutLogger
Internal class which reformats logging methods for display as console output.
Public Instance Methods
debug(msg = nil, &block)
click to toggle source
Log a debug message
@param msg [String] a message
Calls superclass method
# File lib/kitchen/logger.rb, line 382 def debug(msg = nil, &block) super("D #{msg}", &block) end
error(msg = nil, &block)
click to toggle source
Log an error message
@param msg [String] a message
Calls superclass method
# File lib/kitchen/logger.rb, line 403 def error(msg = nil, &block) super(">>>>>> #{msg}", &block) end
fatal(msg = nil, &block)
click to toggle source
Log a fatal message
@param msg [String] a message
Calls superclass method
# File lib/kitchen/logger.rb, line 410 def fatal(msg = nil, &block) super("!!!!!! #{msg}", &block) end
info(msg = nil, &block)
click to toggle source
Log an info message
@param msg [String] a message
Calls superclass method
# File lib/kitchen/logger.rb, line 389 def info(msg = nil, &block) super(" #{msg}", &block) end
unknown(msg = nil, &block)
click to toggle source
Log an unknown message
@param msg [String] a message
Calls superclass method
# File lib/kitchen/logger.rb, line 417 def unknown(msg = nil, &block) super("?????? #{msg}", &block) end
warn(msg = nil, &block)
click to toggle source
Log a warn message
@param msg [String] a message
Calls superclass method
# File lib/kitchen/logger.rb, line 396 def warn(msg = nil, &block) super("$$$$$$ #{msg}", &block) end