]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
logging: add get_log_group() with better API
authorTomas Krizek <tomas.krizek@nic.cz>
Wed, 7 Jul 2021 15:15:08 +0000 (17:15 +0200)
committerTomas Krizek <tomas.krizek@nic.cz>
Thu, 29 Jul 2021 09:42:32 +0000 (11:42 +0200)
commit0f53aaf6cab4107e978c44e575e6ee7723baff1f
tree8276ac6f7bf9d0993a61380782892e2da8b6450c
parent183aff35660f018b6854aa5595d3559f10a6ec26
logging: add get_log_group() with better API

The function returns a table where key is the group name and the value
is either true (when logging selected group), or nil (when group isn't
selected).

This replaces the list_log_group() which didn't really work.
daemon/engine.c
lib/log.c
lib/log.h