@gibme/logger
TypeScript icon, indicating that this package has built-in type declarations

1.0.14 • Public • Published

Simple Logger built around Winston

Automatically creates a common logging facility for you both to file and console.

If NODE_ENV !== 'production', will also output debug level to the console.

import Logger from '@gibme/logger';

Logger.info('I can log %s %sx faster', 'anything', 2);
Logger.debug('Debug message');
Logger.warn('Warning message');
Logger.error('Some error');

Logger.addLog('/somefile.log', 'crit');

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.14248latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.14248
1.0.130
1.0.120
1.0.110
1.0.100
1.0.70
1.0.60
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i @gibme/logger

Weekly Downloads

211

Version

1.0.14

License

MIT

Unpacked Size

12.2 kB

Total Files

6

Last publish

Collaborators

  • brandonlehmann