Skip to content
Snippets Groups Projects
Commit 74d0441d authored by dnsadmin's avatar dnsadmin
Browse files

Logger hiányosságok hozzáadva (#5)

parent e9b5a06f
Branches
Tags
No related merge requests found
......@@ -9,6 +9,8 @@
#define LOGGER_H
#include <syslog.h>
#include <string.h>
#include <errno.h>
#define LOGGER_FUNCTION_HEADER(func_name) void (func_name)(int __pri, const char *__fmt, ...)
#define PERROR_ON_DEMAND(__s) log_on_demand(LOG_ERR, "%s: %s", __s, strerror(errno))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment