File: loglevels.h

package info (click to toggle)
criu 4.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,584 kB
  • sloc: ansic: 139,280; python: 7,484; sh: 3,824; java: 2,799; makefile: 2,659; asm: 1,137; perl: 206; xml: 117; exp: 45
file content (19 lines) | stat: -rw-r--r-- 546 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef UAPI_COMPEL_LOGLEVELS_H__
#define UAPI_COMPEL_LOGLEVELS_H__

/*
 * Log levels used by compel itself (see compel_log_init()),
 * also by log functions in the std plugin.
 */

enum __compel_log_levels {
	COMPEL_LOG_MSG,	  /* Print message regardless of log level */
	COMPEL_LOG_ERROR, /* Errors only, when we're in trouble */
	COMPEL_LOG_WARN,  /* Warnings */
	COMPEL_LOG_INFO,  /* Informative, everything is fine */
	COMPEL_LOG_DEBUG, /* Debug only */

	COMPEL_DEFAULT_LOGLEVEL = COMPEL_LOG_WARN
};

#endif /* UAPI_COMPEL_LOGLEVELS_H__ */