Sha256: 923e8936095c63d43c7ab96f3a7a353f40e160216de1bd1729e8b1cbedd464c9

Contents?: true

Size: 246 Bytes

Versions: 16

Compression:

Stored size: 246 Bytes

Contents

# frozen_string_literal: true
require 'logger'

module Notion
  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

16 entries across 16 versions & 1 rubygems

Version Path
notion-ruby-client-1.2.2 lib/notion/logger.rb
notion-ruby-client-1.2.1 lib/notion/logger.rb
notion-ruby-client-1.2.0 lib/notion/logger.rb
notion-ruby-client-1.1.0 lib/notion/logger.rb
notion-ruby-client-1.0.0 lib/notion/logger.rb
notion-ruby-client-1.0.0.pre.beta2 lib/notion/logger.rb
notion-ruby-client-1.0.0.pre.beta1 lib/notion/logger.rb
notion-ruby-client-0.1.0.pre.beta1 lib/notion/logger.rb
notion-ruby-client-0.0.8 lib/notion/logger.rb
notion-ruby-client-0.0.7 lib/notion/logger.rb
notion-ruby-client-0.0.6 lib/notion/logger.rb
notion-ruby-client-0.0.5 lib/notion/logger.rb
notion-ruby-client-0.0.4 lib/notion/logger.rb
notion-ruby-client-0.0.3 lib/notion/logger.rb
notion-ruby-client-0.0.2 lib/notion/logger.rb
notion-ruby-client-0.0.1 lib/notion/logger.rb