npm install vivid-loggerA 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.
- ✅ 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
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" });