Custom messages logger for Node.js applications
yarn add loggery
This package supports all of the logging levels built for winston
The default Transport is Console
. More transports will be added soon.
const { logger } = require('loggery');
// log your errors
logger().error('error');
// log your debug info
logger().debug('debug info');
logger().info('debug info');
Loggery color codes the log levels accordingly.
For errors, the level will be red
in color.
All of the Loggery tests are written in mocha
.
Coverages to be added soon.
yarn tests