@boost/log

Lightweight level based logging system.

Usage no npm install needed!

<script type="module">
  import boostLog from 'https://cdn.skypack.dev/@boost/log';
</script>

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