zt-logger
v1.0.7
Published
Yet another node.js logger.
Downloads
3
Readme
zt-logger
Another node.js logger.
Installation
npm i zt-logger
Usage/Example
const ztlogger = require('zt-logger'); // import module
// setup logger
const logger = new ztlogger.Logger(
{
filename: 'logs.txt',
filepath: "./logs"
}
);
// logs
logger.log("Hello World!");
logger.info("I'm bored...");
logger.warn("Something went wrong!");
logger.error("Beep boop");
logger.debug("Debug message")
License
Feedback
If you have any feedback, please reach out to us at [email protected]