1.0.3 • Published 1 year ago
@achref-mk/logger v1.0.3
LOGGER
created by Achref Makhloufi
logger is a package that facilitate storing errors into a logs file instead of console.log
Features
- easy to use
- create automatically path if does not exist
- create a daily log file to help debug
Installation
logger is tested under Node.js v18.
Install the dependencies and start the server.
cd your-project
npm i @achref-mk/logger
const logger = require("@achref-mk/logger");
logger.log("log message");
License
MIT
Free Software, Hell Yeah!