aboutsummaryrefslogtreecommitdiff
path: root/comet.c
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2023-11-02 22:13:17 +0100
committerFederico Angelilli <code@fedang.net>2023-11-02 22:13:17 +0100
commit99ca49947936207276e4c97dd21201027e0ad182 (patch)
treeea0b6e56e9a50010131bcc44bdaec1ea2cdda0a3 /comet.c
parent31bff49ef9c5e9ee6079e369e3b4d90c447f8d0b (diff)
Add logging functions
Diffstat (limited to 'comet.c')
-rw-r--r--comet.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/comet.c b/comet.c
index 5a64235..b125d78 100644
--- a/comet.c
+++ b/comet.c
@@ -2,10 +2,13 @@
#include <glib-unix.h>
#include "x11.h"
+#include "log.h"
#include "draw.h"
int main(int argc, char **argv)
{
+ log_init(G_LOG_LEVEL_DEBUG);
+
Window *win = window_create();
draw(win);