{"library":"loglevel-colored-level-prefix","type":"library","category":null,"description":"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.","language":"javascript","status":"maintenance","version":"1.0.0","tags":["javascript","loglevel-plugin"],"install":[{"cmd":"npm install loglevel-colored-level-prefix","imports":["const getLogger = require('loglevel-colored-level-prefix')","const getLogger = require('loglevel-colored-level-prefix')","const logger = getLogger({ prefix: 'APP', level: 'info' })"]},{"cmd":"yarn add loglevel-colored-level-prefix","imports":[]},{"cmd":"pnpm add loglevel-colored-level-prefix","imports":[]}],"homepage":null,"github":"https://github.com/kentcdodds/loglevel-colored-level-prefix","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/loglevel-colored-level-prefix","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/loglevel-colored-level-prefix/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}