Sha256: 0a29bf2e1bafa5b83e8852aebee9f0369aaf4cc2f508e467f5d293dbb9f0c760

Contents?: true

Size: 337 Bytes

Versions: 1

Compression:

Stored size: 337 Bytes

Contents

require 'shog/version'
require 'shog/formatter'
require 'shog/formatters'
require 'shog/rails'
require 'shog/extensions'

module Shog

  # Set up formatting options for the default rails logger.
  # @see Shog::Formatter#configure
  def self.configure(&block)
    ::Rails.logger.formatter = Shog::Formatter.new.configure &block
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shog-0.1.4 lib/shog.rb