lu

log-util

📒Node log utility

Showing:

Popularity

Downloads/wk

1.5K

GitHub Stars

0

Maintenance

Last Commit

8mos ago

Contributors

3

Package

Dependencies

3

Size (min+gzip)

8.9KB

License

MIT

Type Definitions

Built-In

Tree-Shakeable

No?

Categories

Readme

log-util

NPM Version NPM Downloads MIT License

NPM

NPM

Node.js log utility for terminal output.

log-util

usage

yarn add log-util

var log = require('log-util');
log.debug('debug', 0);
log.info('info', 1);
log.success('success', 2);
log.warn('warn', 3);
log.error('error', 4);

api

log.setLevel(level: string) => log

level is level id or level string

new log.Log(0) => log

log levels

log.levels.debug === 0;
log.levels.info === 1;
log.levels.success === 2;
log.levels.warn === 3;
log.levels.error === 4;

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial