Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@boost/log

milesj55.8kMIT5.0.0TypeScript support: included

Lightweight level based logging system.

boost, log, logger, logging, levels

readme

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

changelog