Class: Socrates::Logger

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

Class Method Summary collapse

Class Method Details

.defaultObject



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

def self.default
  @default ||= begin
    logger       = new($stdout)
    logger.level = Logger::WARN
    logger
  end
end