Class: RelicLink::Logger
- Inherits:
-
Logger
- Object
- Logger
- RelicLink::Logger
- Defined in:
- lib/relic_link/logger.rb
Overview
Default logging class.
Class Method Summary collapse
-
.default ⇒ ::Logger
Default logger, used when a logger is not provided in config.
Class Method Details
.default ⇒ ::Logger
Default logger, used when a logger is not provided in config. Default log output is STDOUT
and log level is Logger::WARN
.
12 13 14 15 16 17 18 |
# File 'lib/relic_link/logger.rb', line 12 def self.default return @default if @default logger = new STDOUT logger.level = Logger::WARN @default = logger end |