]> git.tuebingen.mpg.de Git - paraslash.git/commit
daemon: Kill get_loglevel_by_name().
authorAndre Noll <maan@tuebingen.mpg.de>
Tue, 19 Oct 2021 19:44:14 +0000 (21:44 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 2 Jul 2022 19:29:17 +0000 (21:29 +0200)
commit58ba5f61771636a39077478e290a130457f1a4df
treee4d58f382f44089380c7d326e521b8135d60be86
parenta0cd2ac59b891751067512dce77cf6223104932f
daemon: Kill get_loglevel_by_name().

Open-code the logic in daemon_set_log_color_or_die() and get the
values from the new SEVERTIES macro rather than duplicating the
severity list in get_loglevel_by_name().

The SEVERTIES macro will turn out to be handy for the ll subcommands of
para_server and para_audiod which are introduced in subsequent commits.
Makefile.real
daemon.c
error.h
string.c
string.h