Class: RightDevelop::Testing::Server::MightApi::DateTimeLoggerFormatter

Inherits:
Logger::Formatter
  • Object
show all
Defined in:
lib/right_develop/testing/servers/might_api/lib/logger.rb

Instance Method Summary collapse

Instance Method Details

#call(severity, time, progname, msg) ⇒ Object



60
61
62
63
64
65
# File 'lib/right_develop/testing/servers/might_api/lib/logger.rb', line 60

def call(severity, time, progname, msg)
  sprintf("%s (%s): %s\n",
          ::Time.now,
          ::Thread.current.object_id,
          msg2str(msg))
end