1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
use ;
/** @brief Defines the function pointer type for the user-defined log processing function.
@param type Indicates the log type. The type for third-party applications is defined by {@link LOG_APP}.
@param level Indicates the log level, which can be <b>LOG_DEBUG</b>, <b>LOG_INFO</b>, <b>LOG_WARN</b>,
<b>LOG_ERROR</b>, and <b>LOG_FATAL</b>.
@param domain Indicates the service domain of logs. Its value is a hexadecimal integer ranging from 0x0 to 0xFFFF.
@param tag Indicates the log tag, which is a string used to identify the class, file, or service behavior.
@param msg Indicates the log message itself, which is a formatted log string.
@since 11*/
pub type LogCallback = Option;
extern "C"