1.0.5 • Published 3 years ago

debuglog4js v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

debuglog4js

debuglog4js is a log tool or we can say that debugging tool for javascript developers to save their logs and errors in a log file.

And of course debuglog4js itself is open source with a public repository on GitHub.

Installation

debuglog4js requires Node.js v4+ to run.

npm install debuglog4js --save

Usgae

Install the dependencies and devDependencies and start the server.

const debug = require("debuglog4js");  // import debuglog4js package
debug.log('sample log', 6);
debug.error(`error for ${err}`);
debug.info(`user = ${user}`);
debug.debug('debug details for user ', user);
debug.warning('this is warning')

Then debuglog4js will cretae an file named app.log on your root directory where you can see your logs.


License

ISC

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago