blob: f1a0285391bb7f1741a88110143fa32c5224dfdc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
/** @file dk4const.h Numeric constants
for log level and string table entry length.
*/
#ifndef DK4CONST_H_INCLUDED
/** Protection against multiple inclusion.
*/
#define DK4CONST_H_INCLUDED 1
#ifndef DK4CONF_H_INCLUDED
#include "dk4conf.h"
#endif
/** Log levels, higher numeric values correspond to lower priorities.
*/
enum {
/** This message priority never occurs. */
DK4_LL_NONE = 0,
/** Panic message. */
DK4_LL_PANIC,
/** Fatal error message. */
DK4_LL_FATAL,
/** Error message. */
DK4_LL_ERROR,
/** Warning message. */
DK4_LL_WARNING,
/** Informational message. */
DK4_LL_INFO,
/** Progress message. */
DK4_LL_PROGRESS,
/** Debug message. */
DK4_LL_DEBUG,
/** Message can be ignored. */
DK4_LL_IGNORE
};
/** Maximum string table line width.
*/
enum {
/** Maximum string table line width.
*/
DK4_MAX_STRING_TABLE_LINE_LENGTH = 1024
};
#endif
/* ifndef DK4CONST_H_INCLUDED */
|