Class: Slack::Logger

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

Class Method Summary collapse

Class Method Details

.defaultObject



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

def self.default
  return @default if @default

  logger = new STDOUT
  logger.level = Logger::WARN
  @default = logger
end