datalog
v2.1.1
Published
A simple logging library with color and with a timestamp.
Downloads
133
Maintainers
Readme
DataLog
A simple logging library with color and with a timestamp.
Installation
yarn add datalog
Usage
Here are some examples app.js
:
const log = require('datalog');
log.info('Some info messages');
log.warn('Some warn messages');
log.trace('Some trace messages');
log.debug('Some debug messages');
log.error('Some error messages');
log.fatal('Some fatal messages');
You will see output like this:
If you use Docker, set
tty
parametertrue
LICENSE
MIT, see the source.