You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#ifndef SLOG_H
|
|
#define SLOG_H
|
|
|
|
typedef enum {
|
|
WEBDIS_ERROR = 0,
|
|
WEBDIS_WARNING,
|
|
WEBDIS_NOTICE,
|
|
WEBDIS_INFO,
|
|
WEBDIS_DEBUG
|
|
} log_level;
|
|
|
|
struct server;
|
|
|
|
void slog(const struct server *s, log_level level, const char *body);
|
|
|
|
#endif
|