Class: Capistrano::Logger
- Inherits:
-
Object
- Object
- Capistrano::Logger
- Defined in:
- lib/capistrano-campout/logger.rb
Instance Method Summary collapse
Instance Method Details
#campout_log(level, message, line_prefix = nil) ⇒ Object Also known as: log
11 12 13 14 |
# File 'lib/capistrano-campout/logger.rb', line 11 def campout_log(level, , line_prefix = nil) CampoutLogger.log(level, , line_prefix) if CampoutLogger.setup? log_without_campout_logging(level, , line_prefix) end |
#close ⇒ Object
21 22 23 24 |
# File 'lib/capistrano-campout/logger.rb', line 21 def close device.close if @needs_close CampoutLogger.close if CampoutLogger.setup? end |