#SmartLogger A JavaScript logging utility that wraps around the web console feature, provided by modern browsers, to ensure that client-side debugging works irrespective of whether a feature is supported in a browser or not.
- Wraps calls to console in exception handlers so you wouldn't have to bother about browsers lacking consoles
- Has different logging levels, like DEBUG, LOG, INFO, WARN, etc
var logger = com.cre4nslab.SmartLogger;
logger.setLoggingLevel(logger.INFO);
logger.debug("This won't show since DEBUG is lower than INFO");