LOGS-
This npm is used for generating logs, which are Success logs and Error logs.
It creates seperate files for both success and logs.
FEATURES-
-
You can generate log file on Daily basis
-
You can generate log file on monthly basis
-
You can generate log file on quarterly basis
-
You can generate log file on half yearly basis
-
You can generate log file on annually basis
-
You can generate log file on size base In it you can also define size of log file
-
You can generate log file in desired directory
-
You can also give the name to log file according to your choice.
CONFIGURATION:
you can change configuration in jsoncontent.json file according to your requirement
HOW TO USE-
var create_log = require('c-zentrix_logs_system').data;
create_log.success_logs(" SUCCESS LOGS INSIDE log directory ","text or var "); error_log.success_logs("ERROR LOGS INSIDE log directory","text or var");