Sound Open Firmware
Loading...
Searching...
No Matches
logger.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause */
2/*
3 * Copyright(c) 2024 Intel Corporation. All rights reserved.
4 *
5 * Author: Adrian Warecki <adrian.warecki@intel.com>
6 */
7
8#ifndef __MODULE_MODULE_LOGGER_H__
9#define __MODULE_MODULE_LOGGER_H__
10
11/* Log level priority enumeration. */
13 L_CRITICAL, /* Critical message. */
14 L_ERROR, /* Error message. */
15 L_HIGH, /* High importance log level. */
16 L_WARNING, /* Warning message. */
17 L_MEDIUM, /* Medium importance log level. */
18 L_LOW, /* Low importance log level. */
19 L_INFO, /* Information. */
20 L_VERBOSE, /* Verbose message. */
23};
24
25/* struct log_handle identifies the log message sender.
26 *
27 * struct log_handle instance is passed to the system_service::log_message function.
28 * This struct should not be used directly.
29 */
30struct log_handle;
31
32#endif /* __MODULE_MODULE_LOGGER_H__ */
log_priority
Definition logger.h:12
@ L_MEDIUM
Definition logger.h:17
@ L_LOW
Definition logger.h:18
@ L_ERROR
Definition logger.h:14
@ L_HIGH
Definition logger.h:15
@ L_WARNING
Definition logger.h:16
@ L_DEBUG
Definition logger.h:21
@ L_CRITICAL
Definition logger.h:13
@ L_INFO
Definition logger.h:19
@ L_MAX
Definition logger.h:22
@ L_VERBOSE
Definition logger.h:20