20 lines
442 B
C
20 lines
442 B
C
#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
|