Add support for log4j.properties style config
Brought to you by:
timdown
Most of what I do after I install a logger is try to figure out how to filter it for my needs (long term, and while I'm debugging an issue).
Configuring by 'log level' would be nice, but filtering by class/method would be most helpful.
This might impact performance (particularly if a try/catch was needed to determine stack), but I would argue in favor of slightly slower performance generally, for much greater ability to quickly turn on/off logging for sections of code.
I'm not keen on getting into the whole business of throwing-an-error-and-parsing-the-perpetually-changing-call-stack in the core of log4javascript, for performance and compatibility reasons. I'd prefer to add hooks for filtering, and possibly provide helper methods for parsing the call stack.
It's on the list for 1.5.