summaryrefslogtreecommitdiff
path: root/experimental/tectonics/logging.h
blob: 47e09e7280beaf276d2c7b123a3e0fadc15d6c59 (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 global_log_level;

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

#endif