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