Slide 3
Slide 3 text
Ideas on diagnostics and troubleshooting
3
Logging library (Winston, Log4js, Bunyan, Pino,
{logging library of your choice}) + HTTP logger
(Morgan, {HTTP logger of your choice})
console.log()
Simple, but may overfill source code with excessive
number of logging statements
More advanced, but may still overfill source code
with excessive number of logging statements
No
There shall be a right tool for the job. Mindful logging
– for continuous monitoring and diagnostics, verbose
tracing on demand – for common troubleshooting,
debugger – for advanced troubleshooting
No
Let’s go for a debugger!