@jil/log
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

@jil/log

Lightweight level based logging system

import {createLogger} from '@jil/log';

const log = createLogger();

log('Something has happened…');

Features

  • Isolated logger instances.
  • Supports 6 logging levels, in order of priority: log, trace, debug, info, warn, error.
  • Handles default and max logging levels.
  • Customizable transports with writable streams.
  • Toggleable logging at runtime.

Installation

npm i @jil/log

Documentation

Readme

Keywords

none

Package Sidebar

Install

npm i @jil/log

Weekly Downloads

0

Version

0.2.0

License

MIT

Unpacked Size

68.6 kB

Total Files

59

Last publish

Collaborators

  • towyuan