You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2020-01-17T04:36:04.408Z 330af918-dcb6-448d-945a-60e6c9c0a63d INFO XXX
should this be the case in deno-lambda?
Note:
The id is the request id (which is useful to have as you can look up all the log events from a given request)... which were printed via console (not direct to stdout).
The time stamp is superfluous since it's included in the event metadata.
It's INFO when it's console.log which seems strange. Why is that?
Other platforms (python) don't do this.
My opinion is the timestamp is unnecessary and noisy:
`${REQUEST_ID}\tINFO\tXXX`
is better...
The text was updated successfully, but these errors were encountered:
One solution is to have a DENO_CONSOLELOG_PREFIX env variable that defaults to ?? but could be set to ${new Date().toISOString()}\t${requestId}\t${level}\t if you wanted to match node.
In node
console.log(XXX)
is prefixed with:should this be the case in deno-lambda?
Note:
My opinion is the timestamp is unnecessary and noisy:
is better...
The text was updated successfully, but these errors were encountered: