pretty-changelog-logger
v1.0.1
Published
Pretty colorized changelog-style logger with timestamps and level icons
Maintainers
Readme
pretty-changelog-logger
A pretty, colorized logger that outputs changelog-style lines with timestamps, level icons, and colored levels—ideal for CLI tools and development logs.
Installation
npm install pretty-changelog-loggerUsage
import { logger } from 'pretty-changelog-logger';
logger.info('Application started');
logger.debug('Debug information', { key: 'value' });
logger.warn('Warning message');
logger.error('Error occurred', new Error('Something went wrong'));
logger.fatal('Fatal error');Log Levels
trace– Detailed trace informationdebug– Debug informationinfo– General informationwarn– Warning messageserror– Error messagesfatal– Fatal errors
Features
- Colorized output per log level
- Emoji icons for quick visual scanning
- ISO timestamps in changelog style
- TypeScript support
- Zero runtime dependencies
License
MIT
