loggery

1.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i loggery

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

140 kB

Total Files

15

Last publish

Collaborators

  • harrison_kamau