Module: DeviceAPI
- Defined in:
- lib/device_api.rb,
lib/device_api/device.rb,
lib/device_api/sys_log.rb,
lib/device_api/execution.rb
Defined Under Namespace
Classes: CommandTimeoutError, Device, Execution, SysLog
Constant Summary collapse
- @@log =
DeviceAPI::SysLog.new
Instance Attribute Summary collapse
-
#log ⇒ Object
Returns the value of attribute log.
Class Method Summary collapse
Instance Attribute Details
#log ⇒ Object
Returns the value of attribute log.
4 5 6 |
# File 'lib/device_api.rb', line 4 def log @log end |
Class Method Details
.log ⇒ Object
12 13 14 |
# File 'lib/device_api.rb', line 12 def self.log @@log end |
.set_logger(log) ⇒ Object
8 9 10 |
# File 'lib/device_api.rb', line 8 def self.set_logger(log) @@log = log end |