# File lib/puppet/util/log/destinations.rb, line 110
110:   def colorize(level, str)
111:     case Puppet[:color]
112:     when true, :ansi, "ansi", "yes"; console_color(level, str)
113:     when :html, "html"; html_color(level, str)
114:     else
115:       str
116:     end
117:   end