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

5.0.0 • Public • Published

Logging - Boost

build status npm version

Lightweight level based logging system.

import { createLogger } from '@boost/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

yarn add @boost/log

Documentation

Package Sidebar

Install

npm i @boost/log

Weekly Downloads

28,571

Version

5.0.0

License

MIT

Unpacked Size

84.7 kB

Total Files

75

Last publish

Collaborators

  • milesj