зеркало из https://github.com/mozilla/gecko-dev.git
2dd2d5d19d
This is follow-up to Bug 1687549, which added the `maxsize` flag. That works well, but it's hard to distinguish separate logging sessions. This makes it a little easier. This calls through to a slightly modified `Print`, leveraging the concurrency correctness of that implementation. Doing so doesn't allow great visual distinction, but it's enough. This produces output like: ``` $ firefox --backgroundtask success --MOZ_LOG prependheader *** [(null) 1937604: Main Thread]: I/Logger Opening log *** You are running in background task mode. *** ... ``` and ``` $ firefox --backgroundtask success --MOZ_LOG prependheader,raw *** Opening log *** You are running in background task mode. *** ... ``` Differential Revision: https://phabricator.services.mozilla.com/D106224 |
||
---|---|---|
.. | ||
base | ||
build | ||
components | ||
docs | ||
ds | ||
glue | ||
idl-parser | ||
io | ||
libxpt/xptcall | ||
reflect | ||
rust | ||
string | ||
system | ||
tests | ||
threads | ||
windbgdlg | ||
xpidl | ||
moz.build | ||
xpcom-config.h.in |