Package Exports
- @boost/log
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
Boost Logging
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 colors, labels, and writable streams.
- Toggleable logging at runtime.
Installation
yarn add @boost/log