From 07ceeeebe014374626904e5d7c8a20d1a45453fe Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 27 Aug 2020 15:56:16 +0000 Subject: 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). --- libseat/libseat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libseat/libseat.c') diff --git a/libseat/libseat.c b/libseat/libseat.c index 19f0e7f..dd5635b 100644 --- a/libseat/libseat.c +++ b/libseat/libseat.c @@ -37,7 +37,7 @@ struct libseat *libseat_open_seat(struct libseat_seat_listener *listener, void * return NULL; } - log_init(LIBSEAT_LOG_LEVEL_SILENT); + log_init(); char *backend_type = getenv("LIBSEAT_BACKEND"); struct libseat *backend = NULL; -- cgit v1.2.3