Sha256: 15205403637ad286a45547bd3d8b43712feac276e4857407a1d9bcfeeadbb2cc

Contents?: true

Size: 245 Bytes

Versions: 13

Compression:

Stored size: 245 Bytes

Contents

# frozen_string_literal: true
require 'logger'

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

13 entries across 13 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 lib/slack/logger.rb
slack-ruby-client-2.3.0 lib/slack/logger.rb
slack-ruby-client-2.2.0 lib/slack/logger.rb
slack-ruby-client-2.1.0 lib/slack/logger.rb
slack-ruby-client-2.0.0 lib/slack/logger.rb
slack-ruby-client-1.1.0 lib/slack/logger.rb
slack-ruby-client-1.0.0 lib/slack/logger.rb
slack-ruby-client-0.17.0 lib/slack/logger.rb
slack-ruby-client-0.16.0 lib/slack/logger.rb
slack-ruby-client-0.15.1 lib/slack/logger.rb
slack-ruby-client-0.15.0 lib/slack/logger.rb
slack-ruby-client-0.14.6 lib/slack/logger.rb
slack-ruby-client-0.14.5 lib/slack/logger.rb