Sha256: ad12a69955f8b64b920dedb3dba5dac4fcb154c149e720dbafb89259df16bde8
Contents?: true
Size: 538 Bytes
Versions: 11
Compression:
Stored size: 538 Bytes
Contents
module RooOnRails module Railties class Logging < Rails::Railtie initializer 'roo_on_rails.logging.before', before: :initialize_logger do require 'roo_on_rails/logger' Rails.logger = config.logger = RooOnRails::Logger.new Rails.logger.debug 'initializer roo_on_rails.logging.before' end initializer 'roo_on_rails.logging.after', after: :initialize_logger do Rails.logger.set_log_level Rails.logger.debug 'initializer roo_on_rails.logging.after' end end end end
Version data entries
11 entries across 11 versions & 1 rubygems