Configuration options. These are attributes of config.sawmill.
This option is passed to Sawmill::Logger.new
This option is passed to Sawmill::LogRecordMiddleware.new
This option is passed to Sawmill::LogRecordMiddleware.new
An optional filter to run on log entries before they get passed to the formatter.
This option is passed to Sawmill::EntryProcessor::Format.new
This option is passed to Sawmill::EntryProcessor::Format.new
This option is passed to Sawmill::EntryProcessor::Format.new
This option is passed to Sawmill::EntryProcessor::Format.new
This option is passed to Sawmill::Logger.new
This option is passed to Sawmill::EntryProcessor::Format.new
This option is passed to Sawmill::EntryProcessor::Format.new
The log file to write to. This should be either an IO object, or a Sawmill::Rotater. Default is STDERR.
This option is passed to Sawmill::Logger.new
This option is passed to Sawmill::Logger.new
This option is passed to Sawmill::Logger.new
This option is passed to Sawmill::LogRecordMiddleware.new
This option is passed to Sawmill::LogRecordMiddleware.new
# File lib/sawmill/railtie.rb, line 139 def post_logger(proc_=false, &block_) if block_ @post_logger = block_ elsif proc_ != false @post_logger = proc_ end @post_logger end
# File lib/sawmill/railtie.rb, line 129 def pre_logger(proc_=false, &block_) if block_ @pre_logger = block_ elsif proc_ != false @pre_logger = proc_ end @pre_logger end