New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Console cleanup #195
Console cleanup #195
Conversation
} | ||
|
||
internals.printEvent({ | ||
timestamp: event.timestamp, | ||
tags: ['request'], | ||
data: event.instance + ': ' + method + ' ' + event.path + ' ' + query + statusCode + ' (' + event.responseTime + 'ms)' + responsePayload | ||
//instance, method, path, query, statusCode, responseTime, responsePayload | ||
data: Util.format('%s: %s %s %s %s (%sms) %s', event.instance, method, event.path, query, statusCode, event.responseTime, responsePayload) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It may be worth adding format to Hoek, the same where inherits is added.
The test for this change fails |
Should be G2G now @geek. Got foiled by East Coast/West Coast timezone battle. |
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions. |
Fixes #189
util
for string formattingmoment
for date formattingMoment has been sort of "approved for use" as seen here