Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 403 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 403 Bytes

pjs-logger

Mostly wraps loglevel.

But integrates well with the existing pjs-player project.

var logger = new Logger("MyLogger");
logger.trace("log statement", obj);
logger.debug("log statement",);
logger.log("log statement"); // same as debug
logger.info("log statement");
logger.warn("log statement");
logger.error("log statement");