diff options
author | Simon Ser <contact@emersion.fr> | 2020-08-27 15:56:16 +0000 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2020-08-28 01:21:57 +0200 |
commit | 07ceeeebe014374626904e5d7c8a20d1a45453fe (patch) | |
tree | a2e11abccf998199c01d2424f0a19eb85449f8f0 /include/log.h | |
parent | 48b9bf47075271c91097eba4bf8e9316aa33f9c8 (diff) |
Introduce libseat_set_log_level
The default level is SILENT. log_init no longer takes an initial log
level (so that calls to libseat_set_log_level prior to log_init work
correctly).
Diffstat (limited to 'include/log.h')
-rw-r--r-- | include/log.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/log.h b/include/log.h index d4bfd89..9aee33c 100644 --- a/include/log.h +++ b/include/log.h @@ -43,7 +43,7 @@ #define log_debug(str) #endif -void log_init(enum libseat_log_level level); +void log_init(void); void _logf(enum libseat_log_level level, const char *fmt, ...) ATTRIB_PRINTF(2, 3); #endif |