gecko-dev/xpcom
Nick Alexander 2dd2d5d19d Bug 1694530 - Allow to prepend a distinct header by using MOZ_LOG=prependheader. r=xpcom-reviewers,nika
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
2021-03-13 00:18:47 +00:00
..
base Bug 1694530 - Allow to prepend a distinct header by using MOZ_LOG=prependheader. r=xpcom-reviewers,nika 2021-03-13 00:18:47 +00:00
build Bug 1634281 - Use nsTHashMap instead of nsDataHashtable. r=xpcom-reviewers,necko-reviewers,jgilbert,nika,valentin 2021-03-10 10:47:47 +00:00
components Bug 1697900 - Remove unused nsIClassInfo flags. r=mccr8 2021-03-12 10:57:15 +00:00
docs Bug 1695954: Move Gecko Logging MDN Page In-tree r=nika 2021-03-09 16:27:29 +00:00
ds Bug 1634281 - Remove nsDataHashtable. r=xpcom-reviewers,nika 2021-03-10 10:47:48 +00:00
glue Bug 1690384: Propagate error information up through XPCOMGlueLoad and GetBootstrap; r=glandium 2021-02-23 23:25:22 +00:00
idl-parser Bug 1647259 - Replace unsubscriptable value 'list' with 'attlist' r=nika 2021-02-01 15:57:44 +00:00
io Bug 1697964 - Remove GetQuarantinePropKey(). r=mac-reviewers,tnikkel 2021-03-12 01:46:24 +00:00
libxpt/xptcall
reflect Bug 1690152 - on ppc64 properly skip parameter slots if we overflow GPRs while still having FPRs to burn. r=tcampbell 2021-02-02 02:04:20 +00:00
rust Bug 1678330: Ensure nested SpinEventLoopUntil(OrShutdown) calls are traceable to the originating source in case of crash. r=nika,extension-reviewers 2021-03-02 22:11:58 +00:00
string Bug 1686831 - Handle trailing zero removal in double-conversion. r=nika,jwalden,Gankra 2021-01-29 04:25:53 +00:00
system Bug 1697195 - Force enable Software WebRender if Fission and experiment are enabled. r=jrmuizel 2021-03-12 15:52:40 +00:00
tests Bug 1692308 - Add an initial delay to IdleTaskRunner r=smaug 2021-03-12 06:55:46 +00:00
threads Bug 1692308 - Add an initial delay to IdleTaskRunner r=smaug 2021-03-12 06:55:46 +00:00
windbgdlg Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
xpidl Bug 1670357 - Remove `make` targets for cleaning: `clean`, `realclean`, `clobber`, `distclean`, `clobber_all`, `everything` r=firefox-build-system-reviewers,mhentges 2020-10-15 20:37:18 +00:00
moz.build Bug 1695954: Move Gecko Logging MDN Page In-tree r=nika 2021-03-09 16:27:29 +00:00
xpcom-config.h.in