lib/simple_deploy/logger.rb in simple_deploy-0.5.6 vs lib/simple_deploy/logger.rb in simple_deploy-0.6.0

- old
+ new

@@ -1,5 +1,7 @@ +require 'logger' + module SimpleDeploy class SimpleDeployLogger require 'forwardable' @@ -18,9 +20,14 @@ @logger = args[:logger] ||= new_logger(args) end def logger_level Logger.const_get @log_level.upcase + end + + # Added to support capistrano version 2.13.5 + def tty? + nil end private def new_logger(args)