Class: Notion::Logger

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

Class Method Summary collapse

Class Method Details

.defaultObject



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

def self.default
  return @default if @default

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