2.0.14 • Published 2 months ago
@trenskow/log v2.0.14
@trenskow/log
Usage
Just a simple function which lets you log JSON to the console.
const log = require('@trenskow/log');
await log('info', {
state: 'running',
port: process.env.PORT
});
This will output to stdout.
{"time":"2020-01-23T10:16:55.289Z","level":"info","state":"running","port":3000}
Debugging
Use it together with jwalker to get pretty printing while debugging.
node ./index.js | jwalker
License
See LICENSE.
2.0.14
2 months ago
2.0.13
4 months ago
2.0.11
7 months ago
2.0.7
10 months ago
2.0.12
7 months ago
2.0.9
9 months ago
2.0.10
8 months ago
2.0.8
10 months ago
2.0.6
1 year ago
2.0.5
2 years ago
2.0.4
2 years ago
2.0.3
2 years ago
2.0.2
2 years ago
2.0.1
3 years ago
1.1.6
3 years ago
2.0.0
3 years ago
1.1.5
3 years ago
1.1.4
3 years ago
1.1.3
3 years ago
1.1.2
4 years ago
1.1.0
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago