Skip to content

A simple to use JavaScript module for console logging <3

License

Notifications You must be signed in to change notification settings

ConniBug/JS-Logging

Repository files navigation

JS-Logging

A simple logging pckage that has built in email reporting and file logging.

HTML Varient is available within the HTML Branch

Usage

const logging = require('@connibug/js-logging');
logging.setupMail("mail.example.com", 578, "mailer@example.com", "Password");

logging.setLogLevel("ALL");

logging.verbose(<message>);
logging.error(<message>);
logging.warning(<message>);
logging.debug(<message>);
logging.critical(<message>);

logging.log(<message>, <type>);
const { log, critical } = require("logging").log;

log("Thing");
critical("Thing");

alt text

About

A simple to use JavaScript module for console logging <3

Topics

Resources

License

Stars

Watchers

Forks

Packages