Method: HTMLProofer::Log#log
- Defined in:
- lib/html-proofer/log.rb
#log(level, message) ⇒ Object
17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/html-proofer/log.rb', line 17 def log(level, ) color = case level when :debug :light_blue when :info :blue when :warn :yellow when :error, :fatal :red end log_with_color(level, color, ) end |