Class: Slack::Logger

Inherits:
Logger
  • Object
show all
Defined in:
lib/slack/logger.rb

Class Method Summary collapse

Class Method Details

.defaultObject


5
6
7
8
9
10
11
# File 'lib/slack/logger.rb', line 5

def self.default
  @logger ||= begin
    logger = new STDOUT
    logger.level = Logger::WARN
    logger
  end
end