Sha256: 3085d934bd1140da7205f1e5134d5db515bf666f036bdef04bbe98ca1082325d

Contents?: true

Size: 174 Bytes

Versions: 11

Compression:

Stored size: 174 Bytes

Contents

require 'logger'

module Terminalwire
  module Logging
    DEVICE = Logger.new($stdout, level: ENV.fetch("TERMINALWIRE_LOG_LEVEL", "info"))
    def logger = DEVICE
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
terminalwire-0.2.5 lib/terminalwire/logging.rb
terminalwire-0.2.4 lib/terminalwire/logging.rb
terminalwire-0.2.3 lib/terminalwire/logging.rb
terminalwire-0.2.2 lib/terminalwire/logging.rb
terminalwire-0.2.1 lib/terminalwire/logging.rb
terminalwire-0.2.0 lib/terminalwire/logging.rb
terminalwire-0.1.17 lib/terminalwire/logging.rb
terminalwire-0.1.16 lib/terminalwire/logging.rb
terminalwire-0.1.15 lib/terminalwire/logging.rb
terminalwire-0.1.14 lib/terminalwire/logging.rb
terminalwire-0.1.13 lib/terminalwire/logging.rb