lib/smartcloud/grids/buildpacker.rb in smartcloud-0.0.174 vs lib/smartcloud/grids/buildpacker.rb in smartcloud-0.0.175
- old
+ new
@@ -83,16 +83,21 @@
end
def set_logger_formatter_arrow
logger.formatter = proc do |severity, datetime, progname, message|
severity_text = (severity == 'INFO') ? " " : "#{severity}:"
+ info_symbol = "#{('\u2713').force_encoding('utf-8')}"
+ # error_symbol = "#{('\u274c').force_encoding('utf-8')}"
+ # warn_symbol = "#{('\u26a0').force_encoding('utf-8')}"
+ symbol_text = (severity == 'INFO') ? info_symbol : "#{severity}:"
+
"\t\t\t------> #{severity_text} #{message}\n"
end
end
def set_logger_formatter_tabs
logger.formatter = proc do |severity, datetime, progname, message|
- "\t\t\t\t #{message}"
+ "\t\t\t\t\t #{message}"
end
end
end
end
end