Sha256: f865ba3e305f754a94e31a5f22560a93e0f0517df94f0560231f3d16516c988f
Contents?: true
Size: 520 Bytes
Versions: 9
Compression:
Stored size: 520 Bytes
Contents
require 'lograge' require 'lograge/railtie' # NOTE: registers Lograge::Railtie by side effect require 'berkeley_library/logging/configurator' module BerkeleyLibrary module Logging class Railtie < Rails::Railtie # Don't use the Railtie's own `config` because configure() needs # Rails::Application::Configuration#default_log_file initializer('logging.configure_berkeley_library_logging', before: :initialize_logger) do |app| Configurator.configure(app.config) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems