Class: Dima::AppLoggerInstance
- Inherits:
-
Logger
- Object
- Logger
- Dima::AppLoggerInstance
- Defined in:
- lib/dima_app_logger/logger.rb
Instance Method Summary collapse
Instance Method Details
#format_message(level, time, progname, msg) ⇒ Object
86 87 88 89 |
# File 'lib/dima_app_logger/logger.rb', line 86 def (level, time, progname, msg) tm = time.utc.strftime("%Y/%m/%d %H:%M:%S") + "." + ("%.03d" % (time.usec / 1000)) "#{tm} UTC [#{level.split(//)[0]}] -- #{msg}\n" end |