lib/nanoc/cli/logger.rb in nanoc-4.1.1 vs lib/nanoc/cli/logger.rb in nanoc-4.1.2

- old
+ new

@@ -12,11 +12,11 @@ create: "\e[32m", # green update: "\e[33m", # yellow identical: '', # (nothing) skip: '', # (nothing) delete: "\e[31m" # red - } + }.freeze include Singleton # Returns the log level, which can be :high, :low or :off (which will log # all messages, only high-priority messages, or no messages at all, @@ -46,10 +46,10 @@ ACTION_COLORS[action.to_sym], action, "\e[0m", duration.nil? ? '' : format('[%2.2fs] ', duration), name, - ) + ), ) end # Logs a message. #