Sha256: 08cd0b65001d875d239fe121859d5260de1c77eaed6aa5246fdeefe311b9878e
Contents?: true
Size: 425 Bytes
Versions: 13
Compression:
Stored size: 425 Bytes
Contents
require 'logger' ENV['RAILS_LOG_TO_STDOUT'] = '1' module Lamby module Logger def initialize(*args) args[0] = STDOUT super(*args) end end end Logger.prepend Lamby::Logger # TODO: Railtie initializer # Rails.application.config.logger = ActiveSupport::TaggedLogging.new( # ActiveSupport::Logger.new(STDOUT).tap { |logger| # logger.formatter = Rails.application.config.log_formatter # } # )
Version data entries
13 entries across 13 versions & 2 rubygems