mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-07-20 17:55:41 +00:00
![]() pw_log_log/logv now go through the topic-based logger using the "default" topic. Log topics themselves can be allocated by the call sites. The simplest way to use a topic from e.g. a module: PW_LOG_TOPIC_STATIC(mod_topic, "mod.foo"); #define PW_LOG_TOPIC_DEFAULT mod_topic ... void pipewire__module_init() { PW_LOG_TOPIC_INIT(mod_topic); ... } With the #define all pw_log_foo() are now routed through the custom topic. For the cases where the log topic must be specified, a pw_logt_foo() set of macros is available. Log topics are enabled through the PIPEWIRE_DEBUG environment variable which now supports globs, e.g. PIPEWIRE_DEBUG="*:I;mod.access:D" to enable global INFO but DEBUG for the access module. Namespaces documented are "pw", "mod" and "conn", for pipewire-internal stuff, modules and connection dumping. The latter is special-cased to avoid spamming the log files, it requires an expcit "conn.<glob>" pattern to enable. The "default" topic always exists and is the fallback for any pw_log_foo() invocation that does not use a topic. |
||
---|---|---|
.. | ||
api.dox | ||
custom.css | ||
dma-buf.dox | ||
Doxyfile.in | ||
doxygen-awesome.css | ||
index.dox | ||
media-session.dox | ||
meson.build | ||
overview.dox | ||
pipewire-access.dox | ||
pipewire-architecture.dox | ||
pipewire-audio.dox | ||
pipewire-daemon.dox | ||
pipewire-design.dox | ||
pipewire-library.dox | ||
pipewire-midi.dox | ||
pipewire-modules.dox | ||
pipewire-objects-design.dox | ||
pipewire-portal.dox | ||
pipewire-session-manager.dox | ||
pipewire-tools.dox | ||
pipewire.dox | ||
pulseaudio.dox | ||
spa-buffer.dox | ||
spa-design.dox | ||
spa-index.dox | ||
spa-plugins.dox | ||
spa-pod.dox | ||
strip-static.sh | ||
tutorial.dox | ||
tutorial1.dox | ||
tutorial2.dox | ||
tutorial3.dox | ||
tutorial4.dox | ||
tutorial5.dox | ||
tutorial6.dox |