Sha256: 1a07e798947a46d98df39589c5aae9a3ca86d2ea15e7387333dc9d2c0388edfe

Contents?: true

Size: 452 Bytes

Versions: 1

Compression:

Stored size: 452 Bytes

Contents

require 'telemetry/logger/version'
require 'telemetry/logger/defaults'
require 'telemetry/logger/builder'
require 'telemetry/logger/methods'

module Telemetry
  module Logger
    class << self
      include Telemetry::Logger::Defaults
      include Telemetry::Logger::Methods
      include Telemetry::Logger::Builder

      def setup(level: 'info', **opts)
        output(**opts)
        self.log_level = level
        self
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
telemetry-logger-0.1.1 lib/telemetry/logger.rb