This commit is contained in:
2026-06-05 14:35:06 +02:00
parent e7bf726adb
commit e76d58d106
3 changed files with 97 additions and 11 deletions

19
include/log.h Normal file
View File

@@ -0,0 +1,19 @@
#ifndef LOG_H
#define LOG_H
#include <stdio.h>
#include <time.h>
#include <stdarg.h>
#include <string.h>
#include <unistd.h>
#include <sys/socket.h>
#include <sys/un.h>
void Log_Init();
void Log_Cleanup();
void Log_Info(const char* fmt, ...) __attribute__((format(printf, 1, 2)));
void Log_Warn(const char* fmt, ...) __attribute__((format(printf, 1, 2)));
void Log_Err(const char* fmt, ...) __attribute__((format(printf, 1, 2)));
#endif