1#pragma once
2
3#ifdef __cplusplus
4extern "C" {
5#endif
6
7typedef enum uacpi_log_level {
8 /**
9 * Super verbose logging, every op & uop being processed is logged.
10 * Mostly useful for tracking down hangs/lockups.
11 */
12 UACPI_LOG_DEBUG = 5,
13
14 /**
15 * A little verbose, every operation region access is traced with a bit of
16 * extra information on top.
17 */
18 UACPI_LOG_TRACE = 4,
19
20 /**
21 * Only logs the bare minimum information about state changes and/or
22 * initialization progress.
23 */
24 UACPI_LOG_INFO = 3,
25
26 /**
27 * Logs recoverable errors and/or non-important aborts.
28 */
29 UACPI_LOG_WARN = 2,
30
31 /**
32 * Logs only critical errors that might affect the ability to initialize or
33 * prevent stable runtime.
34 */
35 UACPI_LOG_ERROR = 1,
36} uacpi_log_level;
37
38#ifdef __cplusplus
39}
40#endif
41