1 | // SPDX-License-Identifier: GPL-3.0-or-later |
---|---|
2 | |
3 | #pragma once |
4 | |
5 | #include "mos/platform/platform.h" |
6 | #include "mos/syslog/debug.h" |
7 | |
8 | typedef enum |
9 | { |
10 | MOS_LOG_FATAL = 6, |
11 | MOS_LOG_EMERG = 5, |
12 | MOS_LOG_WARN = 4, |
13 | MOS_LOG_EMPH = 3, |
14 | MOS_LOG_INFO = 2, |
15 | MOS_LOG_INFO2 = 1, |
16 | MOS_LOG_UNSET = 0, |
17 | } loglevel_t; |
18 | |
19 | long do_syslog(loglevel_t level, thread_t *thread, const char *file, const char *func, int line, debug_info_entry *feat, const char *fmt, ...); |
20 |