[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #9516 [Tor Launcher]: Show Tor log in TorBrowser
#9516: Show Tor log in TorBrowser
------------------------------+-------------------
Reporter: bastik | Owner: brade
Type: task | Status: new
Priority: normal | Milestone:
Component: Tor Launcher | Version:
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
------------------------------+-------------------
Comment (by mcs):
Replying to [comment:9 bastik]:
> Is it easily possible to add a category?
> I see "error", "warning" and "log" for the JavaScript entries, maybe Tor
could get its own category.
I don't think so. Looking at the Firefox code, it looks like the set of
available categories is fixed. This is a little disappointing. We could
switch to the newer console.info(), console.warn() and console.error() API
to get the messages broken out by type, but I do not see a way to add a
completely new category.
For the record, reason we did not use console.info() and the related
function is because they cause the output to include extraneous double
quotes which is confusing. See
https://bugzilla.mozilla.org/show_bug.cgi?id=977586
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9516#comment:10>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs