# File lib/puppet/util/log.rb, line 283
283:         def colorize(level, str)
284:             case Puppet[:color]
285:             when true, :ansi, "ansi", :yes, "yes"; console_color(level, str)
286:             when :html, "html"; html_color(level, str)
287:             else str
288:             end
289:         end