3 ms·
This is a node module but the idea can be applied generally (https://github.com/trentm/node-bunyan https://github.com/trentm/node-bunyan). Basically you output
by cosmosgenius 9y ago
This is a node module but the idea can be applied generally (https://github.com/trentm/node-bunyan https://github.com/trentm/node-bunyan). Basically you output the logs in the format ops require(Which i assume would be structured) and for devs put a beautifier that parses the logs and prints in the format they require.
- atis 9y agoAlso this: https://github.com/pinojs/pino https://github.com/pinojs/pino