@achref-mk/logger
v1.0.3
Published
use this package to create a log system to store errors instead of displaying them in the console
Downloads
20
Readme
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!
