Sha256: e6eb6fffa69f4f9628bc519ce53552271772ed1c1caa957367ec49768cf3a76f

Contents?: true

Size: 245 Bytes

Versions: 5

Compression:

Stored size: 245 Bytes

Contents

# frozen_string_literal: true
require 'logger'

module Usps
  class Logger < ::Logger
    def self.default
      return @default if @default

      logger = new $stdout
      logger.level = Logger::WARN
      @default = logger
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
usps-ruby-client-0.2.0 lib/usps/logger.rb
usps-ruby-client-0.1.3 lib/usps/logger.rb
usps-ruby-client-0.1.2 lib/usps/logger.rb
usps-ruby-client-0.1.1 lib/usps/logger.rb
usps-ruby-client-0.1.0 lib/usps/logger.rb