Add a warning message to the logger.

This commit is contained in:
Chris Eppstein 2010-02-21 17:32:23 -08:00
parent 2c05ccf9e9
commit 34478112ba

View File

@ -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,