At first sight, "order of console log by time" should be easy:

https://github.com/firebug/firebug/blob/master/extension/content/firebug/console/consolePanel.js#L661
           
var orderTimeASC=false;//Firebug Preference
if (Options.get("console.groupLogMessages") && this.matchesLastMessage &&
    this.matchesLastMessage(objects, appender, className, rep, sourceLink,
        this.groups ? this.groups.length : 0))
{
    if(orderTimeASC)
    {
        this.increaseRowCount(container.lastChild);
        row = container.lastChild;
    }
    else
    {
        this.increaseRowCount(container.firstChild);
        row = container.firstChild;
    }
}
else
{
    if (sourceLink)
        FirebugReps.SourceLink.tag.append({object: sourceLink}, row.
firstChild);

    if(orderTimeASC)
    {
        container.appendChild(row);
    }
    else
    {
        container.insertBefore(row, container.firstChild);
    }
}

................
//TODO
if (this.wasScrolledToBottom)
    Dom.scrollToBottom(this.panelNode);//scrollToTop

David


El martes, 8 de julio de 2014 19:45:19 UTC+2, San escribió:
>
> Speaking of console arrangement... that reminds me of something I've been 
> wishing for, although it's rather elaborate and a little hard to explain. 
> I'm working on code where groups of console log items appear in clumps, 
> separated by time, depending on various actions. In other words: something 
> happens, 6 or 8 console items appear; 10 seconds later, another page 
> action, 10 more console items appear, etc.
>
> Right now there's no separation between the groups of items in the 
> console. They're not the kind of thing you could easily clump into 
> console.group because they come from various parts of the code (not all 
> together in the code).
>
> It would be nice if you could set an amount of time (a time gap) that 
> would cause a separator to automatically appear in the console, like a 
> horizontal line, so you could see where one bunch of items stopped and the 
> next began. Even better would be some way to automatically group them 
> (something like console.groupCollapsed) as soon as the next bunch of items 
> appeared.
>
> Lawrence San
> Business Writing: Santhology.com
> Cartoon Stories for Thoughtful People: Sanstudio.com
>
>
>
> On Tue, Jul 8, 2014 at 1:44 AM, Jan Honza Odvarko <[email protected] 
> <javascript:>> wrote:
>
>> Such option doesn't exist at the moment.
>>
>> You might want to file a bug here:
>> https://code.google.com/p/fbug/issues/list
>>
>> Honza
>>
>>
>> On Tuesday, July 8, 2014 5:46:57 AM UTC+2, Voathnak Lim wrote:
>>>
>>> Hello, I wonder is there is an option that allow me to sort the order of 
>>> console log by time?, Example: I want the last console appear at the top.
>>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Firebug" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/firebug.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/firebug/8db1e909-af01-49b4-9b1f-02d610d5d834%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/firebug/8db1e909-af01-49b4-9b1f-02d610d5d834%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/firebug.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/firebug/81e85db0-363b-49fb-b522-46bd102fb167%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to