Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Notifications You must be signed in to change notification settings

nazir20/nice-logger

Open more actions menu

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

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.