console.log('This is some %s. %o!! %d!!! %%s', 'formatted text',
document.body, 42);
prints:
This is some formatted text. <body onload="console.log('Welcome')">!!
42!!! %s
where the angle bracket is linked back into Firebug.

As far as I know console.log() does not provide line numbers.  A
function could be implemented to add line numbers using same concept
as console.trace() but only taking the top of the stack.

You can suggest it:
http://code.google.com/p/fbug/issues/list

On Sep 23, 4:04 pm, Richard <[EMAIL PROTECTED]> wrote:
> Despite my best efforts, on both Mac and PC (and across a couple
> different users in my department), I don't seem to be able to get
> Firebug to show line numbers/links when I shoot off console messages
> (console.log, console.debug, console.error).  %o returns undefined
> when I use it within console.log.  I'm sure I'm doing something wrong,
> but I can't seem to figure out what.  The two configurations that this
> is occurring in are:
>
> FF 3.0.1, FB 1.2.1, Win XP SP2
> and
> FF 3.0.1., FB 1.2.1, Mac OS X 10.5.5
>
> Any thoughts or assistance would be greatly appreciated.
>
> Thanks,
> Richard
--~--~---------~--~----~------------~-------~--~----~
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