summaryrefslogtreecommitdiff
path: root/src/logging.h
blob: 53232ca38d637a8789b16e4b0a73be53a7f70ac9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef ARGENT_LOGGING_H
#define ARGENT_LOGGING_H

#define FATAL 0
#define ERROR 1
#define WARN 2
#define INFO 3
#define DEBUG 4
#define TRACE 5

extern int argent_log_level;

const char *level_string(int level);
void argent_log(int level, const char *format_string, ...);

#endif