Class: Dynflow::LoggerAdapters::Simple::ProgNameWrapper
- Inherits:
-
Object
- Object
- Dynflow::LoggerAdapters::Simple::ProgNameWrapper
- Defined in:
- lib/dynflow/logger_adapters/simple.rb
Instance Method Summary collapse
-
#initialize(logger, prog_name) ⇒ ProgNameWrapper
constructor
A new instance of ProgNameWrapper.
- #level ⇒ Object
- #level=(v) ⇒ Object
Constructor Details
#initialize(logger, prog_name) ⇒ ProgNameWrapper
Returns a new instance of ProgNameWrapper.
38 39 40 41 |
# File 'lib/dynflow/logger_adapters/simple.rb', line 38 def initialize(logger, prog_name) @logger = logger @prog_name = prog_name end |
Instance Method Details
#level ⇒ Object
53 54 55 |
# File 'lib/dynflow/logger_adapters/simple.rb', line 53 def level @logger.level end |
#level=(v) ⇒ Object
49 50 51 |
# File 'lib/dynflow/logger_adapters/simple.rb', line 49 def level=(v) @logger.level = v end |