Sha256: c2c428246b77a4feb62ce217b498f00c44a19501842ea9f05a479e1ca14717ea

Contents?: true

Size: 263 Bytes

Versions: 2

Compression:

Stored size: 263 Bytes

Contents

module Betterlog
  class Railtie < Rails::Railtie
    initializer "betterlog_railtie.configure_rails_initialization" do
      require 'betterlog/log/legacy_event_formatter'
      Rails.logger.formatter = Betterlog::Log::LegacyEventFormatter.new
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
betterlog-2.0.4 lib/betterlog/railtie.rb
betterlog-2.0.3 lib/betterlog/railtie.rb