zenlog.js
TypeScript icon, indicating that this package has built-in type declarations

3.4.3 • Public • Published

zenlog

const { createLogger, FileBufferStream } = require('zenlog.js');

const log = createLogger();
log.addStream(new FileBufferStream({ dir: __dirname }));

log.info('test');

log.child({ err: new Error('error msg') }).error('hello');

log.close();

Readme

Keywords

Package Sidebar

Install

npm i zenlog.js

Weekly Downloads

43

Version

3.4.3

License

MIT

Unpacked Size

21.6 kB

Total Files

21

Last publish

Collaborators

  • yefei777