1.0.3 • Published 3 years 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-projectnpm i @achref-mk/loggerconst logger = require("@achref-mk/logger");logger.log("log message");License
MIT
Free Software, Hell Yeah!