1.0.0 • Published 5 months ago

@nassro190/nlog v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago
npm install nlog
const { Logger, LogLevel, nlog } = require("nlog");

const log = new Logger({ production: true, prefix: "MyLibrary" });
log(LogLevel.Info, "Hello, World!");

// or

const newLog = nlog({ production: true, prefix: "MyLibrary" });
newLog(LogLevel.Info, "Hello, World!");
1.0.0

5 months ago