lib/capistrano/asg/rolling/logger.rb in capistrano-asg-rolling-0.3.0 vs lib/capistrano/asg/rolling/logger.rb in capistrano-asg-rolling-0.4.0
- old
+ new
@@ -11,9 +11,13 @@
def info(text)
$stdout.puts format_text(text)
end
+ def warning(text)
+ $stdout.puts format_text("WARNING: #{text}")
+ end
+
def error(text)
$stderr.puts format_text(text, color: :red) # rubocop:disable Style/StderrPuts
end
def verbose(text)