new content

This commit is contained in:
2024-11-23 20:07:07 +03:00
parent deee29f5da
commit 7fc9618d17
5 changed files with 68 additions and 32 deletions

19
libmysyslog/libmysyslog.h Normal file
View File

@@ -0,0 +1,19 @@
#ifndef LIBMYSYSLOG_H
#define LIBMYSYSLOG_H
enum LogLevel {
DEBUG,
INFO,
WARN,
ERROR,
CRITICAL
};
enum LogDriver {
TEXT_DRIVER,
JSON_DRIVER
};
int mysyslog(const char* msg, int level, int driver, int format, const char* path);
#endif // LIBMYSYSLOG_H