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
{{ message }}
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.
Implementing #63 got me thinking about our diag logger.
Whenever I see variables in log messages(api.diag.info(`This happened with ${param} for ${type}!`)) I see a lost opportunity to structure the log entry:
Thought's on using structured logging everywhere instead? An API similar to pino perhaps:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Implementing #63 got me thinking about our diag logger.
Whenever I see variables in log messages(
api.diag.info(`This happened with ${param} for ${type}!`)
) I see a lost opportunity to structure the log entry:pino
perhaps:So that the inline example above would look like:
Beta Was this translation helpful? Give feedback.
All reactions