summaryrefslogtreecommitdiff
path: root/lib/messages.h
blob: e7056dbe89fd57c63568f25cd2a168d494fdfc4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef H_MESSAGES
#define H_MESSAGES

#define MESS_DEBUG      1
#define MESS_VERBOSE    2
#define MESS_NORMAL     3
#define MESS_WARNING    4
#define MESS_ERROR      5
#define MESS_FATALERROR 6

#define MESS_QUIET (MESS_NORMAL + 1)

void increaseVerbosity(void);
void setVerbosity(int level);
int getVerbosity(void);
void message(int level, char * format, ...);
int isVerbose(void);
int isDebug(void);

#endif