jbail / lumberjack

Lumberjack is a JavaScript utility that hijacks the browser console, makes it more beautiful and enhances it so logs can be split into more manageable chunks.
120 stars 8 forks source link

Debug is broken #4

Closed ada-lovecraft closed 10 years ago

ada-lovecraft commented 10 years ago

console.debug breaks while lumberjack is installed.

jbail commented 10 years ago

I went through the Firefox/firebug and Chrome console APIs and re-enabled every method that they expose. Methods like debug, time, timeEnd, group, groupEnd, etc should work now.

These methods will not be colorized with the stream name (like dir, dirxml, error, log, info and warn are) because that isn't supported by Firefox or Chrome. These methods will obey the stream on/off built into Lumberjack and any invocations will be stored in the logs audit array (accessible via the logs() method).