visionmedia/debug — Issue #14: is console.error essential?
Author: RandomEtc
Created: 2012-02-28 20:39:00+00:00
State: open

I'm using another library that uses log4js which already overrides console.error and adds color formatting and timestamps for errors/warnings. This means all my `debug` output is red and prefixed with `[ERROR]`.

Is there a way that if `debug` is imported first it can save an un-monkey-patched version of console.error so it can continue to do synchronous logging... or even to allow a choice of log or error in case people don't want sync logging in debug?