[Webkit-unassigned] [Bug 28047] New: add utility method to ConsoleView to enable logging messages for inspector development

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 6 08:53:20 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=28047

           Summary: add utility method to ConsoleView to enable logging
                    messages for inspector development
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Enhancement
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pmuellr at yahoo.com


It's handy to have somewhere to dump messages while doing Web Inspector
development.  The existing console seems like a handy place.  Unfortunately,
the code to get a message added to the console is non-trivial, as it requires
building a ConsoleMessage object first.

Suggestion is to add a utility method to ConsoleView called "log" which can be
called from within Web Inspector code to easily log messages to the console. 
Code can then just use something like the following to dump a message:

   WebInspector.console.log("Hello, world!");

Additional suggestion that the message be styled somehow to differentiate it
from other messages in the console.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list