Module Thin::Logging
In: lib/thin/logging.rb

To be included in classes to allow some basic logging that can be silenced (Logging.silent=) or made more verbose. Logging.trace=: log all raw request and response and

                          messages logged with +trace+.

Logging.silent=: silence all log all log messages

                          altogether.

Methods

debug=   debug?   level   level=   log   log_debug   log_error   log_info   log_msg   logger=   silent   silent=   silent=   silent?   trace   trace=   trace?   trace_logger=   trace_msg  

Classes and Modules

Class Thin::Logging::SimpleFormatter

Attributes

logger  [R] 
trace_logger  [R] 

Public Class methods

Provided for backwards compatibility. Callers should be using the level (on the Logging module or on the instance) to figure out what the log level is.

Allow user to specify a custom logger to use. This object must respond to: level, +level=+ and debug, info, warn, error, fatal

Public Instance methods

For backwards compatibility

Log a message at ERROR level (and maybe a backtrace)

Log a message if tracing is activated

[Validate]