MOS Source Code
Loading...
Searching...
No Matches
syslog.h
Go to the documentation of this file.
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
, ...);
line
u32 line
Definition
assert.h:36
fmt
u32 const char * fmt
Definition
assert.h:36
debug.h
platform.h
thread_t
Definition
task_types.h:75
loglevel_t
loglevel_t
Definition
syslog.h:9
MOS_LOG_INFO
@ MOS_LOG_INFO
Definition
syslog.h:14
MOS_LOG_FATAL
@ MOS_LOG_FATAL
Definition
syslog.h:10
MOS_LOG_INFO2
@ MOS_LOG_INFO2
Definition
syslog.h:15
MOS_LOG_WARN
@ MOS_LOG_WARN
Definition
syslog.h:12
MOS_LOG_EMERG
@ MOS_LOG_EMERG
Definition
syslog.h:11
MOS_LOG_EMPH
@ MOS_LOG_EMPH
Definition
syslog.h:13
MOS_LOG_UNSET
@ MOS_LOG_UNSET
Definition
syslog.h:16
do_syslog
long do_syslog(loglevel_t level, thread_t *thread, const char *file, const char *func, int line, debug_info_entry *feat, const char *fmt,...)
Definition
syslog.c:16
kernel
include
private
mos
syslog
syslog.h
Generated on Sun Sep 1 2024 18:22:52 for MOS Source Code by
1.12.0