JSPM

  • Created
  • Published
  • Downloads 5173
  • Score
    100M100P100Q126292F
  • License MIT

Lightweight level based logging system.

Package Exports

  • @boost/log
  • @boost/log/test

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@boost/log) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Logging - Boost

Build Status npm version npm deps

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