Loglevel Colored Level Prefix

JSON →
library 1.0.0 ·javascript maintenance
verified May 27, 2026

The `loglevel-colored-level-prefix` package is a specialized plugin for the `loglevel` library, designed to enhance log output in Node.js environments by adding colored prefixes to log levels. Released as `v1.0.0` in February 2017, this utility provides a stable, opinionated solution for visually distinct logging but is not under active development, operating effectively in a maintenance-only status. It explicitly leverages the `chalk` library for terminal colorization, making it a Node.js-exclusive tool and unsuitable for browser environments. Its primary differentiator is offering a consistent, pre-formatted log style specifically for Node.js applications, aiding in quick identification of log severity. The package exposes a single function, `getLogger`, which returns a singleton `loglevel` instance, configured with a specified prefix and initial log level, providing a focused approach to colored console output within the `loglevel` ecosystem.

total hits 16
actors 8 distinct systems
last hit 6d ago MetaBot
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
3

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇺🇦 Ukraine · 🇩🇪 Germany · 🇫🇷 France