Added a NullLogger class that can be used to silence the compiler output via the :logger option.
This commit is contained in:
parent
2c7eede9fb
commit
22b61e13a9
@ -31,4 +31,12 @@ module Compass
|
||||
@max_action_length ||= actions.inject(0){|memo, a| [memo, a.to_s.length].max}
|
||||
end
|
||||
end
|
||||
|
||||
class NullLogger
|
||||
def record(*args)
|
||||
end
|
||||
|
||||
def log(msg)
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue
Block a user