Class: LoggerProxy
- Inherits:
-
Object
- Object
- LoggerProxy
- Defined in:
- lib/logger_proxy.rb,
lib/logger_proxy/version.rb
Constant Summary collapse
- LEVELS =
[:debug, :info, :warn, :error, :fatal].freeze
- VERSION =
'0.0.1'
Instance Method Summary collapse
-
#initialize(context, logger) ⇒ LoggerProxy
constructor
A new instance of LoggerProxy.
Constructor Details
#initialize(context, logger) ⇒ LoggerProxy
Returns a new instance of LoggerProxy.
5 6 7 8 |
# File 'lib/logger_proxy.rb', line 5 def initialize(context, logger) @context = context @logger = logger end |