From 493cc2a97d8ac32ffc6e96e1cca4d45e15c1828e Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Wed, 5 Aug 2020 23:31:05 +0200 Subject: log: Remove libseat prefixes --- libseat/libseat.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libseat/libseat.c') diff --git a/libseat/libseat.c b/libseat/libseat.c index 175f284..3489385 100644 --- a/libseat/libseat.c +++ b/libseat/libseat.c @@ -38,17 +38,17 @@ struct libseat *libseat_open_seat(struct libseat_seat_listener *listener, void * } char *loglevel = getenv("LIBSEAT_LOGLEVEL"); - enum libseat_log_level level = LIBSEAT_SILENT; + enum log_level level = LOGLEVEL_SILENT; if (loglevel != NULL) { if (strcmp(loglevel, "silent") == 0) { - level = LIBSEAT_SILENT; + level = LOGLEVEL_SILENT; } else if (strcmp(loglevel, "info") == 0) { - level = LIBSEAT_INFO; + level = LOGLEVEL_INFO; } else if (strcmp(loglevel, "debug") == 0) { - level = LIBSEAT_DEBUG; + level = LOGLEVEL_DEBUG; } } - libseat_log_init(level); + log_init(level); char *backend_type = getenv("LIBSEAT_BACKEND"); struct libseat *backend = NULL; -- cgit v1.2.3