logging
This commit is contained in:
19
include/log.h
Normal file
19
include/log.h
Normal 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
|
||||
Reference in New Issue
Block a user