Class Compass::Logger
In: lib/compass/logger.rb
Parent: Object

Methods

action_padding   color   emit   green   log   max_action_length   new   record   red   wrap   yellow  

Constants

COLORS = { :clear => 0, :red => 31, :green => 32, :yellow => 33, :blue => 34 }
ACTION_COLORS = { :error => :red, :warning => :yellow, :info => :green, :compile => :green, :overwrite => :yellow, :modified => :yellow, :clean => :yellow, :write => :green, :create => :green, :remove => :yellow, :delete => :yellow, :deleted => :yellow, :created => :yellow, :exists => :green, :directory => :green, :identical => :green, :convert => :green, :unchanged => :yellow
DEFAULT_ACTIONS = ACTION_COLORS.keys
ACTION_CAN_BE_QUIET = { :error => false, :warning => true, :info => true, :compile => true, :overwrite => true, :modified => true, :clean => true, :write => true, :create => true, :remove => true, :delete => true, :deleted => true, :created => true, :exists => true, :directory => true, :identical => true, :convert => true, :unchanged => true

Attributes

actions  [RW] 
options  [RW] 
time  [RW] 

Public Class methods

Public Instance methods

add padding to the left of an action that was performed.

Emit a log message without a trailing newline

Emit a log message with a trailing newline

the maximum length of all the actions known to the logger.

Record an action that has occurred

[Validate]