loggery
v1.0.2
Published
Custom messages logger for Node.js applications
Downloads
3
Readme
Loggery
Custom messages logger for Node.js applications
Installation
yarn add loggery
Log levels
This package supports all of the logging levels built for winston
Logging
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');
Color coded levels
Loggery color codes the log levels accordingly.
For errors, the level will be red
in color.
Running tests
All of the Loggery tests are written in mocha
.
Coverages to be added soon.
yarn tests