Sha256: 1dc665d8f35d4c39ba414cc60bd0d109c551f40fe246ea7c60935f791fd8a359

Contents?: true

Size: 305 Bytes

Versions: 17

Compression:

Stored size: 305 Bytes

Contents

module Renalware
  module StringLogging
    extend ActiveSupport::Concern

    def logging_to_stringio(string_io)
      logger = ActiveSupport::Logger.new(string_io)
      logger.formatter = Rails.configuration.log_formatter
      Rails.logger = ActiveSupport::TaggedLogging.new(logger)
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
renalware-core-2.0.8 app/models/concerns/renalware/string_logging.rb
renalware-core-2.0.7 app/models/concerns/renalware/string_logging.rb
renalware-core-2.0.5 app/models/concerns/renalware/string_logging.rb
renalware-core-2.0.4 app/models/concerns/renalware/string_logging.rb
renalware-core-2.0.3 app/models/concerns/renalware/string_logging.rb
renalware-core-2.0.2 app/models/concerns/renalware/string_logging.rb
renalware-core-2.0.1 app/models/concerns/renalware/string_logging.rb
renalware-core-2.0.0 app/models/concerns/renalware/string_logging.rb
renalware-core-2.0.0.pre.rc13 app/models/concerns/renalware/string_logging.rb
renalware-core-2.0.0.pre.rc11 app/models/concerns/renalware/string_logging.rb
renalware-core-2.0.0.pre.rc10 app/models/concerns/renalware/string_logging.rb
renalware-core-2.0.0.pre.rc9 app/models/concerns/renalware/string_logging.rb
renalware-core-2.0.0.pre.rc8 app/models/concerns/renalware/string_logging.rb
renalware-core-2.0.0.pre.rc7 app/models/concerns/renalware/string_logging.rb
renalware-core-2.0.0.pre.rc6 app/models/concerns/renalware/string_logging.rb
renalware-core-2.0.0.pre.rc5 app/models/concerns/renalware/string_logging.rb
renalware-core-2.0.0.pre.rc4 app/models/concerns/renalware/string_logging.rb