A fast, lightweight, colorized logging framework with helpful log details like filename and line numbers
npm install detailed-loggerDetailedLogger logs the console methods to the terminal and color codes them. Most importantly, the filename and line number is included for faster debugging.
ESM:
```
import DetailedLogger from 'detailed-logger';
CommonJS:
``
const DetailedLogger = require('detailed-logger');
`
const logger = new DetailedLogger();
logger.trace('trace');
logger.debug('debug');
logger.log('log');
logger.info('info');
logger.warn('warn');
logger.error('error');
`

Trace is at the highest log level and error is at the lowest. Use setLevel to adjust logging detail.
``
logger.setLevel('trace'); // all log messages are emitted
For less detail:
``
logger.setLevel('warn'); // only warn and error messages are emitted
For info, warn, and error:
```
logger.setLevel('info');
Note that 'info' is the default.
Run the examples in the examples folder for more in-depth understanding.
Copyright (c) James Mortensen, 2021-2022 MIT License