]> git.alsa-project.org Git - alsa-lib.git/commit
log: implement filter based on string configuration (env LIBASOUND_DEBUG).
authorJaroslav Kysela <perex@perex.cz>
Fri, 7 Nov 2025 11:18:00 +0000 (12:18 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 7 Nov 2025 17:09:26 +0000 (18:09 +0100)
commitb37ac0982bb943187dc5c4e10e032232b7111530
tree950ff4d945e4b3c1f5fc366b75eee7f06aa2580a
parent524081b4d6905b865e46861099a56f9ad4e91758
log: implement filter based on string configuration (env LIBASOUND_DEBUG).

Examples:

 "debug"                 - Set global level to debug
 "3"                     - Set global level to 3 (info)
 "info,pcm:debug"        - Set global to info, pcm to debug
 "error,mixer:5,pcm:4"   - Set global to error, mixer to 5 (trace), pcm to 4 (debug)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
include/error.h
src/Versions.in.in
src/error.c