Class: Logger

Inherits:
Object
  • Object
show all
Defined in:
lib/openstudio/workflow/multi_delegator.rb

Instance Method Summary collapse

Instance Method Details

#format_message(severity, datetime, _progname, msg) ⇒ Object



11
12
13
# File 'lib/openstudio/workflow/multi_delegator.rb', line 11

def format_message(severity, datetime, _progname, msg)
  format("[%s %s] %s\n", datetime.strftime('%H:%M:%S.%6N'), severity, msg)
end