George Kiagiadakis
5412ca972f
log: guard against NULL messages
...
if for any reason the message field is NULL, replace it with the string
"(null)" and keep going... this avoids crashing the journald logger
Fixes #124
2021-12-20 17:54:14 +02:00
Peter Hutterer
5ec2138a72
log: support strings as level selectors in WIREPLUMBER_DEBUG
...
This allows for WIREPLUMBER_DEBUG="D" which avoids users having to
remember which numerical value the various levels have. The strings to
select are the ones printed by the logger, i.e. UECWMIDT.
2021-11-18 12:17:19 +00:00
Pauli Virtanen
fbb66cc290
wp: implement topics in SPA log interface
...
Implement SPA log topic API, showing log topics as GLIB_DOMAIN,
and enabling based on WIREPLUMBER_DEBUG.
2021-10-14 23:40:59 +03:00
Wim Taymans
fb28b076a1
Revert "wp: fix spa_log_methods version"
...
This reverts commit 86eecfc7e1 .
The logger now correctly calls the old implementation when the new
method is not implemented.
2021-10-07 10:17:15 +02:00
Pauli Virtanen
86eecfc7e1
wp: fix spa_log_methods version
...
Wireplumber implements version 0 of spa_log methods. Fixes logging on
current pipewire.
2021-10-04 07:00:28 +00:00
Jason Francis
ed8346e77d
docs: Add brief descriptions to all functions
...
This ensures all of these functions are picked up by g-ir-scanner.
2021-06-02 17:38:34 +00:00
George Kiagiadakis
b812e912d2
docs: fix C API documentation to work nicely with doxygen & sphinx
2021-05-25 14:19:53 +03:00
Raghavendra
d692f06f0d
docs: api: Replace hotdoc specific commands with Doxygen specific commands
2021-05-25 14:19:53 +03:00
George Kiagiadakis
257d5cba47
wp: rename debug.{h,c} to log.{h,c}
...
Also rename the intermediate lua api table WpDebug -> WpLog
Keeps things more consistent with the function names (wp_log*),
with the lua api (Log.*) and with pipewire using log.{h,c} as well.
After all, these functions are for logging...
2021-05-06 15:50:07 +03:00