#bench(action, began_at, message, level = :debug, color = :yellow) ⇒ ObjectAppend a to development logger a given action with time.
#colorize(string, *colors) ⇒ ObjectColorizes a string for colored console output.
#colorize! ⇒ ObjectTurns a logger with LoggingExtensions into a logger with colorized output.
#enable_source_location? ⇒ BooleanReturns true if :source_location is set to true.
#exception(boom, verbosity = :long, level = :error) ⇒ ObjectLogs an exception.
#format(message, level) ⇒ ObjectFormats the log message.
#name ⇒ ObjectGenerate the logging methods for for each log level.
#push(message = nil, level = nil) ⇒ ObjectAppends a message to the log.
#resolve_source_location(message) ⇒ ObjectResolves a filename and line-number from caller.
#stylized_level(level) ⇒ ObjectThe debug level, with some style added.
Append a to development logger a given action with time.
Colorizes a string for colored console output. This is a noop and can be reimplemented to colorize the string as needed.
Turns a logger with LoggingExtensions into a logger with colorized output.
Returns true if :source_location is set to true.
Logs an exception.
Formats the log message. This method is a noop and should be implemented by other logger components such as.
Generate the logging methods forfor each log level.
Appends a message to the log. The methods yield to an optional block and the output of this block will be appended to the message.
Resolves a filename and line-number from caller.
The debug level, with some style added. May be reimplemented.
© 2010–2019 Padrino
Licensed under the MIT License.