aboutsummaryrefslogtreecommitdiff
path: root/src/log.h
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-07-08 15:22:41 +0200
committerFederico Angelilli <code@fedang.net>2024-07-08 15:22:41 +0200
commit5d170a634ead0119f6e5a9f63c23b2b064126f75 (patch)
tree0447d2dbb0da6358d184a4c62d5557d4d22f5e8d /src/log.h
parent92feb3c130966202c7caa6d9bf3a3800c97ca7a1 (diff)
Remove old files
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/log.h b/src/log.h
deleted file mode 100644
index 8ee600f..0000000
--- a/src/log.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef COMET_LOG_H
-#define COMET_LOG_H
-
-#include <glib.h>
-
-#define DEBUG_FORMAT(format, ...) \
- "[%s] \x1b[1mdebug\x1b[0m: " format, __func__, ## __VA_ARGS__
-
-#define INFO_FORMAT(format, ...) \
- "[%s] \x1b[1;96minfo\x1b[0m: " format, __func__, ## __VA_ARGS__
-
-#define WARNING_FORMAT(format, ...) \
- "[%s] \x1b[1;33mwarning\x1b[0m: " format, __func__, ## __VA_ARGS__
-
-#define ERROR_FORMAT(format, ...) \
- "[%s] \x1b[1;31merror\x1b[0m: " format, __func__, ## __VA_ARGS__
-
-#define log_debug(...) g_debug(DEBUG_FORMAT(__VA_ARGS__))
-#define log_info(...) g_info(INFO_FORMAT(__VA_ARGS__))
-#define log_warning(...) g_warning(WARNING_FORMAT(__VA_ARGS__))
-#define log_error(...) g_error(ERROR_FORMAT(__VA_ARGS__))
-
-#endif
-
-// vim: ts=4 sw=4 et