module Roda::RodaPlugins::CommonLogger

The common_logger plugin adds common logger support to Roda applications, similar to Rack::CommonLogger, with the following differences:

Example:

plugin :common_logger
plugin :common_logger, $stdout
plugin :common_logger, Logger.new('filename')
plugin :common_logger, Logger.new('filename'), method: :debug