http://blog.getfirebug.com/?p=27
On Dec 3, 4:29 pm, John J Barton <[EMAIL PROTECTED]> wrote:
> Copy this in to a page and try it:
>
> console.group("group this");
> console.log("level 1 log")
> console.group("group level 2");
> console.warn("level 2 warn")
> console.info("level 2 info")
> console.groupEnd();
> console.log("level 1 log");
> console.groupEnd()
>
> On Dec 3, 11:35 am, mattkime <[EMAIL PROTECTED]> wrote:
>
> > Curious if you found a solution. I was looking for something like this
> > but anything that offers it doesn't seem to integrate with firebug.
>
> > i'm particularly interested in the idea of setting hierarchical log
> > levels.
>
> > --matt
>
> > On Nov 13, 9:57 am, Martin <[EMAIL PROTECTED]> wrote:
>
> > > Hello,
>
> > > I think log4j or slf4j or logback is widely known.
> > > The consoleloggingof firebug provide similarloggingfunctionality.
> > > We use thisloggingfunctionality 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
> > > theloggingwith 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 mylogginglayer.
> > > Are there future plans to provide hierarchicallylogging
> > > 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
-~----------~----~----~----~------~----~------~--~---