Sha256: 1fa6fec84407dbc0a3bd36c020a6329d0f8c9abac492b4c9f0fe383d35f2a39c

Contents?: true

Size: 267 Bytes

Versions: 16

Compression:

Stored size: 267 Bytes

Contents

require "logger"

module Baton
  module Logging
    def logger
      Baton::Logging.logger
    end

    def self.logger
      STDOUT.sync = true
      @logger ||= Logger.new(STDOUT)
    end

    def self.logger=(out)
      @logger = Logger.new(out)
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
baton-0.7.0 lib/baton/logging.rb
baton-0.6.0 lib/baton/logging.rb
baton-0.5.6 lib/baton/logging.rb
baton-0.5.5 lib/baton/logging.rb
baton-0.5.4 lib/baton/logging.rb
baton-0.5.2 lib/baton/logging.rb
baton-0.4.10 lib/baton/logging.rb
baton-0.4.9 lib/baton/logging.rb
baton-0.4.8 lib/baton/logging.rb
baton-0.4.5 lib/baton/logging.rb
baton-0.4.4 lib/baton/logging.rb
baton-0.4.3 lib/baton/logging.rb
baton-0.4.2 lib/baton/logging.rb
baton-0.4.1 lib/baton/logging.rb
baton-0.3.7 lib/baton/logging.rb
baton-0.3.6 lib/baton/logging.rb