module Shog
Constants
- VERSION
- VERSION_NUMBER
- VERSION_SUFFIX
Public Class Methods
configure(&block)
click to toggle source
Set up formatting options for the default rails logger. @see Shog::Formatter#configure
# File lib/shog.rb, line 11 def self.configure(&block) formatter = ::Rails.logger.formatter unless formatter.is_a? Shog::Formatter formatter = ::Rails.logger.formatter = Shog::Formatter.new end formatter.configure &block end