Class Mixlib::Log::Formatter
In: lib/mixlib/log/formatter.rb
Parent: Logger::Formatter

Methods

call   msg2str   show_time=  

Public Class methods

Public Instance methods

Prints a log message as ’[time] severity: message’ if Chef::Log::Formatter.show_time == true. Otherwise, doesn‘t print the time.

Converts some argument to a Logger.severity() call to a string. Regular strings pass through like normal, Exceptions get formatted as "message (class)\nbacktrace", and other random stuff gets put through "object.inspect"

[Validate]