Class: Occi::Cli::Log
- Inherits:
-
Log
- Object
- Log
- Occi::Cli::Log
- Defined in:
- lib/occi/cli/log.rb
Constant Summary collapse
- SUBSCRIPTION_HANDLE =
"rOCCI-cli.log"
Instance Attribute Summary collapse
-
#api_log ⇒ Object
readonly
Returns the value of attribute api_log.
Instance Method Summary collapse
- #close ⇒ Object
- #core_log ⇒ Object
-
#initialize(log_dev, log_prefix = '[rOCCI-cli]') ⇒ Log
constructor
A new instance of Log.
- #level=(severity) ⇒ Object
Constructor Details
Instance Attribute Details
#api_log ⇒ Object (readonly)
Returns the value of attribute api_log.
8 9 10 |
# File 'lib/occi/cli/log.rb', line 8 def api_log @api_log end |
Instance Method Details
#close ⇒ Object
15 16 17 18 |
# File 'lib/occi/cli/log.rb', line 15 def close super @api_log.close end |
#core_log ⇒ Object
26 27 28 |
# File 'lib/occi/cli/log.rb', line 26 def core_log @api_log.core_log end |
#level=(severity) ⇒ Object
21 22 23 24 |
# File 'lib/occi/cli/log.rb', line 21 def level=(severity) @api_log.level = severity super end |