Class: DebDeploy::Logger::Stream
- Inherits:
-
Object
- Object
- DebDeploy::Logger::Stream
- Defined in:
- lib/deb_deploy/logger/stream.rb
Instance Method Summary collapse
- #collect(host, data) ⇒ Object
- #collected ⇒ Object
-
#initialize(logger) ⇒ Stream
constructor
A new instance of Stream.
Constructor Details
#initialize(logger) ⇒ Stream
Returns a new instance of Stream.
4 5 6 |
# File 'lib/deb_deploy/logger/stream.rb', line 4 def initialize(logger) @logger = logger end |
Instance Method Details
#collect(host, data) ⇒ Object
8 9 10 |
# File 'lib/deb_deploy/logger/stream.rb', line 8 def collect(host, data) @logger.debug data, host end |
#collected ⇒ Object
12 13 |
# File 'lib/deb_deploy/logger/stream.rb', line 12 def collected end |