Configuration options. These are attributes of config.sawmill_stats.
This option is passed to Sawmill::StatsMiddleware.new
This option is passed to Sawmill::StatsMiddleware.new
This option is passed to Sawmill::EntryProcessor::Format.new
Access the logger after it is generated
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::StatsMiddleware.new
This option is passed to Sawmill::StatsMiddleware.new
This option is passed to Sawmill::StatsMiddleware.new
# File lib/sawmill/stats_railtie.rb, line 128 def post_logger(proc_=false, &block_) if block_ @post_logger = block_ elsif proc_ != false @post_logger = proc_ end @post_logger end
# File lib/sawmill/stats_railtie.rb, line 118 def pre_logger(proc_=false, &block_) if block_ @pre_logger = block_ elsif proc_ != false @pre_logger = proc_ end @pre_logger end