77-node-logger
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

77 Node Logger

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.0.20latest

Version History

VersionDownloads (Last 7 Days)Published
2.0.20
2.0.10
2.0.00
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i 77-node-logger

Weekly Downloads

0

Version

2.0.2

License

ISC

Unpacked Size

2.7 kB

Total Files

7

Last publish

Collaborators

  • sam77