RDK Documentation (Open Sourced RDK Components)
|
Describe the details about RDK debug APIs specifications.
void | rdk_dbgDumpLog (const char *path) |
Dump the debug log. It will Dump all the current settings so that an analysis of a log file will include what logging information to expect. More... | |
void | rdk_dbgInit () |
Initialize the underlying MPEOS debug support. This API must be called only once per boot cycle. More... | |
rdk_Error | rdk_logger_init (const char *debugConfigFile) |
Initialize the logger. Sets up the environment variable storage by parsing debug configuration file then Initialize the debug support to the underlying platform. More... | |
rdk_Error | rdk_logger_deinit () |
Cleanup the logger instantiation. More... | |
void | rdk_dbg_MsgRaw (rdk_LogLevel level, const char *module, const char *format,...) __attribute__((format(printf |
Dump the debug log. It will Dump all the current settings so that an analysis of a log file will include what logging information to expect. More... | |
void void | rdk_dbg_MsgRaw1 (rdk_LogLevel level, const char *module, const char *format, va_list args) |
Dump the debug log. It will Dump all the current settings so that an analysis of a log file will include what logging information to expect. More... | |
rdk_logger_Bool | rdk_dbg_enabled (const char *module, rdk_LogLevel level) |
Function to check if a specific log level of a module is enabled. More... | |
void | rdk_log_onboard (const char *module, const char *msg,...) __attribute__((format(printf |
Dump the debug log. It will Dump all the current settings so that an analysis of a log file will include what logging information to expect. More... | |
void rdk_dbgDumpLog | ( | const char * | path | ) |
Dump the debug log. It will Dump all the current settings so that an analysis of a log file will include what logging information to expect.
[in] | path | Character string representing path of the temp file to be created. |
Definition at line 67 of file rdk_debug.c.
void rdk_dbgInit | ( | ) |
Initialize the underlying MPEOS debug support. This API must be called only once per boot cycle.
Definition at line 100 of file rdk_debug.c.
rdk_Error rdk_logger_init | ( | const char * | debugConfigFile | ) |
Initialize the logger. Sets up the environment variable storage by parsing debug configuration file then Initialize the debug support to the underlying platform.
[in] | debugConfigFile | The character pointer variable of debug configuration file. |
Definition at line 57 of file rdk_logger_init.c.
rdk_Error rdk_logger_deinit | ( | ) |
Cleanup the logger instantiation.
Definition at line 108 of file rdk_logger_init.c.
void rdk_dbg_MsgRaw | ( | rdk_LogLevel | level, |
const char * | module, | ||
const char * | format, | ||
... | |||
) |
Dump the debug log. It will Dump all the current settings so that an analysis of a log file will include what logging information to expect.
[in] | path | Character string representing path of the temp file to be created. |
void void rdk_dbg_MsgRaw1 | ( | rdk_LogLevel | level, |
const char * | module, | ||
const char * | format, | ||
va_list | args | ||
) |
Dump the debug log. It will Dump all the current settings so that an analysis of a log file will include what logging information to expect.
[in] | path | Character string representing path of the temp file to be created. |
Definition at line 139 of file rdk_debug.c.
rdk_logger_Bool rdk_dbg_enabled | ( | const char * | module, |
rdk_LogLevel | level | ||
) |
Function to check if a specific log level of a module is enabled.
[in] | module | The module name or category for for which the log level shall be checked (as mentioned in debug.ini). |
[in] | level | The debug logging level. |
Definition at line 415 of file rdk_debug_priv.c.
void rdk_log_onboard | ( | const char * | module, |
const char * | msg, | ||
... | |||
) |
Dump the debug log. It will Dump all the current settings so that an analysis of a log file will include what logging information to expect.
[in] | path | Character string representing path of the temp file to be created. |