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