Sha256: fcdf7d36dfc3cd0b946a577ed5967aa25131affbef2fdba307aed9f8fe762f10

Contents?: true

Size: 515 Bytes

Versions: 2

Compression:

Stored size: 515 Bytes

Contents

require 'logging_library/custom_formatter'
require 'logging_library/logger_factory'
require 'logging_library/logger'
require 'logging_library/mixins/loggable'
require 'logging_library/version'

module LoggingLibrary
  Loggable = Mixins::Loggable

  LOG_LEVELS = Mixlib::Log::LEVELS.keys.freeze

  class << self
    def output_device
      @output_device ||= $stderr
    end

    attr_writer :output_device
  end
end

# Avoid buffering output when running under e.g. Foreman.
$stdout.sync = true
$stderr.sync = true

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
logging_library-1.3.0 lib/logging_library.rb
logging_library-1.2.0 lib/logging_library.rb