This is really just a super simple fs logging class.
const { Logger, CSVLogger } = require("77-node-logger");
const log = new Logger("test");
log.add("This is an example log!");
log.end()
const csvLog = new CSVLogger("csv", ["Title", "Name", "Date"]);
csvLog.add(["Test Title", "Test Name", "Test Date"])
csvLog.end();
This will write a log file in ./logs/test.txt with a log of This is an example log!
.
This will also write a csv file in ./logs/csv.csv