๐ Welcome to ColorLogger
ColorLogger is here to revolutionize your logging experience! No more boring console.log("here")
calls.
With vibrant colors, structured levels, and customization options, your logs will never go unnoticed.
Why Choose ColorLogger?
- ๐จ Colors that pop: Easily distinguish between log levels with eye-catching colors.
- ๐ฆ Structured log levels: Use
info
,success
,warning
,error
, andcritical
to organize your logs. - ๐ Configurable timestamps: Add a timestamp to your logs in your preferred language.
- ๐ผ Universal compatibility: Works seamlessly in both Node.js and browser environments.
- โก Zero dependencies: Lightweight and efficient, perfect for any project.
โจ Get Started in Seconds
Install the package with
npm i @cptn-tlouvet/color-logger
or
yarn add @cptn-tlouvet/color-logger
Run your first updated console.log easily:
import { Logger } from '@cptn-tlouvet/color-logger';
Logger.info('This is an info log');
Dive into the sections on the left to explore how to set up and customize ColorLogger for your project.
Youโll find examples, configuration tips, and interactive demos to showcase its capabilities.
๐ Ready to Transform Your Logs?
Use the navigation menu to discover:
- Logger Level: Thatโs the core, discover the different levels you can use.
- Configuration: Learn how to configure ColorLogger for your needs.
- Colors: Explore the palettes and customize colors with ANSI, TrueColor, Hex, or RGB.
- Generator: Generate your ready-to-paste configuration
Letโs make your console logs stand out! ๐