Sha256: e2be1ef69c27a31b8b88f3e2c13afb95e17182ab1d66d93221dbc107ca6a0a02

Contents?: true

Size: 248 Bytes

Versions: 15

Compression:

Stored size: 248 Bytes

Contents

module Betterlog
  class Railtie < Rails::Railtie
    initializer "betterlog_railtie.configure_rails_initialization" do
      require 'betterlog/log_event_formatter'
      Rails.logger.formatter = Betterlog::LogEventFormatter.new
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
betterlog-2.0.2 lib/betterlog/railtie.rb
betterlog-2.0.1 lib/betterlog/railtie.rb
betterlog-2.0.0 lib/betterlog/railtie.rb
betterlog-1.1.1 lib/betterlog/railtie.rb
betterlog-1.1.0 lib/betterlog/railtie.rb
betterlog-1.0.0 lib/betterlog/railtie.rb
betterlog-0.20.3 lib/betterlog/railtie.rb
betterlog-0.20.2 lib/betterlog/railtie.rb
betterlog-0.20.1 lib/betterlog/railtie.rb
betterlog-0.20.0 lib/betterlog/railtie.rb
betterlog-0.19.0 lib/betterlog/railtie.rb
betterlog-0.18.0 lib/betterlog/railtie.rb
betterlog-0.15.2 lib/betterlog/railtie.rb
betterlog-0.15.1 lib/betterlog/railtie.rb
betterlog-0.15.0 lib/betterlog/railtie.rb