Skip to content

Harrisonkamau/loggery

Repository files navigation

Loggery

Custom messages logger for Node.js applications

CircleCI

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.

Info

Error

Running tests

All of the Loggery tests are written in mocha. Coverages to be added soon.

yarn tests

About

Custom messages logger for Node.js applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published