Hello,

I think log4j or slf4j or logback is widely known.
The console logging of firebug provide similar logging functionality.
We use this logging functionality in a 3 Stage Web Environment
(Development, Integration, Production).
Ideally you don't change the code after it has reached Integration
Environment. So you don't remove all the console.debug calls.
In Development I like to have debugging output. In the Integration and
Production mostly not.
Currently I implemented a small JavaScript Layer between the
functional JavaScripts and the console to be able to configure the
logging with log levels. But with this solution I loose the console
functionality that points me directly into the function that throws an
error or logs something. Instead console points to my logging layer.
Are there future plans to provide hierarchically logging
configuration?
Something like.

console.setLogLevel("com.acme", "ERROR");
console.setLogLevel("com.acme.foo1", "DEBUG");

or

sonsole.setLogeLevel({
  "com.acme": "ERROR",
  "com.acme.foo1", "DEBUG"
});

Or is this currently possible and I missed it?

Regards

Martin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to