aboutsummaryrefslogtreecommitdiff
path: root/logging.h
blob: b9174bfe59effe813b51653e2684beda96fea13a (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef LOGGING_H
#define LOGGING_H 1

#define LOG log_fmt_colored

typedef enum log_priority { LP_DEBUG = 0, NOTICE, WARNING, ERROR, EVENT, PROTO } log_priority;

void log_fmt_colored(log_priority prio, const char * fmt, ...);

#endif