Class: DHC::Logger
- Inherits:
-
Logger
- Object
- Logger
- DHC::Logger
- Extended by:
- Forwardable
- Includes:
- ActiveSupport::Configurable, Singleton
- Defined in:
- lib/dhc/logger.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(logdev = nil) ⇒ Logger
constructor
A new instance of Logger.
Constructor Details
Class Method Details
.log(severity, message = nil, progname = nil) ⇒ Object
26 27 28 29 |
# File 'lib/dhc/logger.rb', line 26 def self.log(severity, = nil, progname = nil) return if logger.blank? logger.log(severity, , progname) end |