@muerteseguraz/console-enhancer
v1.0.0
Published
Drop-in replacement for console methods with enhanced formatting and context
Maintainers
Readme
✨ console-enhancer
Enhanced
console.logfor humans: timestamps, log levels, caller info, and colors.
✨ Features
- Automatic timestamps
- Log levels:
log,info,warn,error - Shows the file and line of the log call
- Pretty colors
- Drop-in usage
⚡ Usage
npm install @muerteseguraz/console-enhancer// index.js
import '@muerteseguraz/console-enhancer';
console.log("Server started");
console.warn("High memory usage");
console.error("Something broke");🌐 Output Example
[2025-07-26 14:36:52] [LOG] [index.js:3] Server started
[2025-07-26 14:36:53] [WARN] [index.js:4] High memory usage
[2025-07-26 14:36:54] [ERROR] [index.js:5] Something broke🎓 License
MIT
