From 34478112ba73be63f45c528cf2c55617163c8508 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sun, 21 Feb 2010 17:32:23 -0800 Subject: [PATCH] Add a warning message to the logger. --- lib/compass/logger.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/compass/logger.rb b/lib/compass/logger.rb index 7f726689..bd6c97a1 100644 --- a/lib/compass/logger.rb +++ b/lib/compass/logger.rb @@ -2,12 +2,13 @@ module Compass class Logger - DEFAULT_ACTIONS = [:directory, :exists, :remove, :create, :overwrite, :compile, :error, :identical] + DEFAULT_ACTIONS = [:directory, :exists, :remove, :create, :overwrite, :compile, :error, :identical, :warning] COLORS = { :clear => 0, :red => 31, :green => 32, :yellow => 33 } ACTION_COLORS = { :error => :red, + :warning => :yellow, :compile => :green, :overwrite => :yellow, :create => :green,