Skip to content

nazir20/nice-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vivid-logger

Installation

npm install vivid-logger

A colorful, pretty logger for Node.js with timestamps, log levels, and optional debug mode.
Makes console output clear, readable, and easy to track in development or production.


Features

  • ✅ Info, Warning, Error, Success, and Debug log levels
  • ✅ Timestamped logs
  • ✅ Color-coded output with chalk
  • ✅ Optional debug logs (only show in development)
  • ✅ Lightweight and easy to use

Usage

import { log } from "vivid-logger";

// Basic logs
log.info("Server started");
log.success("Connected to database");
log.warn("High memory usage");
log.error("Something went wrong", { code: 500 });

// Debug logs (only show if NODE_ENV=development)
log.debug("Request payload", { user: "Alice" });

About

An npm package for Node.js that provides colorful, lightweight logging with timestamps, multiple log levels, and optional debug output.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors