Logger is a tiny javascript library to show console logs faster and easier
- Include the dist/logger.js in your project
- In some JS file type:
log("Hello World")
- assert(expression, message) : Write a message to the console, only if the first argument is false
- clear() : Clear all messages in the console
- count(label) : Write to the console the number of time the count() is called
- error(message) : write an error to the console
- group(label) : create a group of messages in the console
- groupCollapsed(label) : create a collapsed group of messages in the console
- groupEnd() : end a message group
- info(message) : write a message to the console
- log(message) : write to the console
- table(tabledata, tablecolumns) : write a table in the console
- time(label) : write to the console how long does it take to perform a task
- timeEnd(label) : end a time(label)
- trace(label) : show the trace of how the code ended up
- warn(message) : write a warning to the console