aboutsummaryrefslogtreecommitdiff
path: root/libseat/libseat.c
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2020-08-05 23:31:05 +0200
committerKenny Levinsen <kl@kl.wtf>2020-08-05 23:41:55 +0200
commit493cc2a97d8ac32ffc6e96e1cca4d45e15c1828e (patch)
treee610938b5b2d8cba154251b6b48190133e270bef /libseat/libseat.c
parent563a9326598886e03cde94d92f979e68bdad9760 (diff)
log: Remove libseat prefixes
Diffstat (limited to 'libseat/libseat.c')
-rw-r--r--libseat/libseat.c10
1 files changed, 5 insertions, 5 deletions
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;