ztrack-logger
v1.0.0
Published
Lightweight and developer-friendly logger for Node.js with clean, structured outputs and easy integration.
Maintainers
Readme
ztrack-logger
A lightweight and customizable logging utility for Node.js and frontend projects. Easily track, format, and output logs with different levels (info, warn, error, debug).
🚀 Installation npm install ztrack-logger
or
yarn add ztrack-logger
📖 Usage import { logger } from "ztrack-logger"; import logger from "ztrack-logger"
// Log different levels logger.info("This is an info message"); logger.warn("This is a warning"); logger.error("Something went wrong"); logger.debug("Debugging details...");
⚡ Features
✅ Multiple log levels (info, warn, error, debug)
✅ Lightweight and fast
✅ Works in both Node.js and browser environments
✅ Easy integration with existing apps
📦 Project Structure
src/ → Source code
build/ → Compiled output for npm
🛠 Development
Clone the repo and install dependencies:
git clone https://github.com/your-username/ztrack-logger.git
cd ztrack-logger npm install
Build the package:
npm run build
🐞 Issues
Found a bug or have a feature request? Open an issue here (https://github.com/Zohair-Abbasi/ztrack-logger/issues)
📜 License
MIT Zohair-Abbasi
