aboutsummaryrefslogtreecommitdiff
path: root/logging.h
blob: 601e5a98299af306fd4ef2ce6d91774411c645d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#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;

extern log_priority lower_prio;

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

#endif