gmessages: Expose our default filtering as API

This allows programs that want to change how log messages are printed,
such as gnome-terminal (gnome-terminal#42) and Flatpak, to override
the log-writer or the legacy log-handler without having to reimplement
the G_MESSAGES_DEBUG filtering logic.

Signed-off-by: Simon McVittie <smcv@collabora.com>
17 jobs for wip/smcv/issue2087 in 12 minutes and 45 seconds (queued for 1 second)
Status Job ID Name Coverage
  Style Check
failed #822683
allowed to fail
check-todos

00:00:36

failed #822682
allowed to fail
style-check-diff

00:00:34

 
  Build
passed #822688
cross-android_api21_arm64

00:01:07

passed #822689
cross-android_api28_arm64

00:01:22

passed #822690
cross-mingw64

00:01:46

passed #822685
debian-stable-x86_64

00:02:03

failed #822684
fedora-x86_64

00:06:58

failed #822693
freebsd-11
freebsd-11-x86_64

00:05:26

passed #822694
freebsd-12
freebsd-12-x86_64

00:05:06

passed #822687
G_DISABLE_ASSERT

00:01:51

passed #822686
installed-tests

00:03:45

passed #822695
macos
macos

00:04:27

passed #822691
win32-ps
msys2-mingw32

00:12:07

passed #822692
win32-ps
vs2017-x64

00:06:43

 
  Coverage
skipped #822696
coverage
 
  Analysis
skipped #822698
scan-build
skipped #822697
allowed to fail
valgrind
 
Name Stage Failure
failed
fedora-x86_64 Build
_build/docs/reference/gio/gio-undocumented.txt: found 1 matching files and directories 
_build/docs/reference/gio/gio-unused.txt: found 1 matching files and directories

_build/fedora-x86_64-report.xml: found 1 matching files and directories

_coverage: found 2 matching files and directories

Uploading artifacts as "archive" to coordinator... ok
id=822684 responseStatus=201 Created token=Z5-kMae4
Uploading artifacts...
_build/fedora-x86_64-report.xml: found 1 matching files and directories

Uploading artifacts as "junit" to coordinator... ok
id=822684 responseStatus=201 Created token=Z5-kMae4
ERROR: Job failed: exit code 1
failed
freebsd-11-x86_64 Build
_build/glib/glibconfig.h: found 1 matching files   
_build/meson-logs: found 4 matching files

_build/freebsd-11-x86_64-report.xml: found 1 matching files

Uploading artifacts to coordinator... ok
id=822693 responseStatus=201 Created token=qCViA1sz
Uploading artifacts...
Runtime platform
arch=amd64 os=freebsd pid=51067 revision=ac8e767a version=12.6.0
_build/freebsd-11-x86_64-report.xml: found 1 matching files

Uploading artifacts to coordinator... ok
id=822693 responseStatus=201 Created token=qCViA1sz
ERROR: Job failed: exit status 1
failed
check-todos Style Check
Successfully extracted cache
Downloading artifacts
Running before_script and script
Authenticating with credentials from job payload (GitLab Registry)
$ .gitlab-ci/run-check-todos.sh
fatal: remote upstream already exists.
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1
failed
style-check-diff Style Check
Successfully extracted cache
Downloading artifacts
Running before_script and script
Authenticating with credentials from job payload (GitLab Registry)
$ .gitlab-ci/run-style-check-diff.sh
fatal: remote upstream already exists.
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1