JS - debug console log logger error, warn, info, log, debug

/ Published in: JavaScript
Save to your folder(s)

// create a variable to toggle debugging
// to use it, just call debug(with,any,optional,parameters)
// it will try to guess what type of message to log, or you can specify in the first parameter

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.