Logger class used by webpack-bundle-analyzer
Last updated 3 years ago by valscion .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @webpack-bundle-analyzer/logger 
SYNC missed versions from official npm registry.


Logging implementation used in webpack-bundle-analyzer.


npm install --save @webpack-bundle-analyzer/logger


const Logger = require('@webpack-bundle-analyzer/logger');

// Possible logging levels are 'info', 'warn', 'error' and 'silent'.
const logger = new Logger('info');

logger.info('Informative message');
logger.warn('Warning, something is not right!');
logger.error('An error happened!');


new Logger(level: LogLevel);
Name Type Description
level One of: info, warn, error, silent The logging level to use. info displays all log messages, warn displays only .warn and .error logs, error displays only .error logs and silent displays none.


Yuriy Grunin

Vesa Laakso

Current Tags

  • 3.0.0-alpha.2                                ...           latest (3 years ago)

1 Versions

  • 3.0.0-alpha.2                                ...           3 years ago
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
Dev Dependencies (6)
Dependents (0)

Copyright 2014 - 2017 © taobao.org |