Added a NullLogger class that can be used to silence the compiler output via the :logger option.

This commit is contained in:
Chris Eppstein 2009-05-07 20:08:19 -07:00
parent 2c7eede9fb
commit 22b61e13a9

View File

@ -31,4 +31,12 @@ module Compass
@max_action_length ||= actions.inject(0){|memo, a| [memo, a.to_s.length].max} @max_action_length ||= actions.inject(0){|memo, a| [memo, a.to_s.length].max}
end end
end end
class NullLogger
def record(*args)
end
def log(msg)
end
end
end end