1.0.2 • Published 6 years ago

loggery v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago