Module: LoggingFactory
- Defined in:
- lib/version.rb,
lib/logging_factory.rb
Overview
Logging factory for logs
Defined Under Namespace
Classes: Logger
Constant Summary collapse
- VERSION =
'0.0.3'- DEFAULT_LOG_CONFIGURATION =
{ output: 'STDOUT', truncate: false, level: :debug, format: '[%d] %-5l [%c] %m\n' }
- DEFAULT_FACTORY =
LoggingFactory.create
Class Method Summary collapse
-
.create(*params) ⇒ Object
Create a new logging factory.
Class Method Details
.create(*params) ⇒ Object
Create a new logging factory
28 29 30 |
# File 'lib/logging_factory.rb', line 28 def self.create(*params) Logger.new(*params) end |