aboutsummaryrefslogtreecommitdiff
path: root/c_implementation/include/libaklog.h
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2025-04-02 20:54:37 +0300
committerkaotisk <kaotisk@arching-kaos.org>2025-04-02 20:54:37 +0300
commitb9f80a2b37edf9682f189b406542b3f7a93b24a3 (patch)
tree2c96484ccb77af8a59ed6fb7fe4632b5bafb9858 /c_implementation/include/libaklog.h
parent0ec3188626275fa2678882c9827ade8d045ffc7d (diff)
downloadarching-kaos-tools-b9f80a2b37edf9682f189b406542b3f7a93b24a3.tar.gz
arching-kaos-tools-b9f80a2b37edf9682f189b406542b3f7a93b24a3.tar.bz2
arching-kaos-tools-b9f80a2b37edf9682f189b406542b3f7a93b24a3.zip
Moved directory and some experimental changes
Diffstat (limited to 'c_implementation/include/libaklog.h')
-rw-r--r--c_implementation/include/libaklog.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/c_implementation/include/libaklog.h b/c_implementation/include/libaklog.h
new file mode 100644
index 0000000..31478a7
--- /dev/null
+++ b/c_implementation/include/libaklog.h
@@ -0,0 +1,24 @@
+#ifndef AKLOG
+#define AKLOG
+
+typedef enum {
+ INFO,
+ WARNING,
+ ERROR,
+ EXIT,
+ DEBUG
+} LogMessageType;
+
+void ak_log_print_log_line(char* line);
+void ak_log_follow();
+void ak_log_grep(char* string);
+void ak_log_rotate();
+int ak_log_write_to_file(char* message);
+void ak_log_message(const char* program, LogMessageType lmtype, char* message);
+void ak_log_exit(const char* program, char* message);
+void ak_log_warning(const char* program, char* message);
+void ak_log_debug(const char* program, char* message);
+void ak_log_error(const char* program, char* message);
+void ak_log_info(const char* program, char* message);
+
+#endif // AKLOG