From 2f28dcb6a445a90d151ab647363a8965aa1f5822 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 25 Nov 2024 11:52:01 +0200 Subject: Minimal replication of ak-log in C --- src/include/aklog.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/include/aklog.h (limited to 'src/include') diff --git a/src/include/aklog.h b/src/include/aklog.h new file mode 100644 index 0000000..ce475fe --- /dev/null +++ b/src/include/aklog.h @@ -0,0 +1,15 @@ +#ifndef AKLOG +#define AKLOG + +void ak_log_print_log_line(char* line); +void ak_log_follow(); +void ak_log_grep(char* string); +void ak_log_rotate(); +void ak_log_message(char* program, char* type, char* message); +void ak_log_exit(char* program, char* message); +void ak_log_warning(char* program, char* message); +void ak_log_debug(char* program, char* message); +void ak_log_error(char* program, char* message); +void ak_log_info(char* program, char* message); + +#endif // AKLOG -- cgit v1.2.3