Debugging
Debugging/logging functions. More...
Modules | |
Macros | |
Macros related to debugging. | |
Functions | |
void | zn_log (const char *fmt,...) |
Print formatted string to the log bus. More... | |
void | zn_vlog (const char *fmt, va_list args) |
Print formatted string with variable arguments to the log bus. More... | |
void | zn_log_with_buffer (const char *buffer, size_t buffer_len) |
Print string buffer to the log bus. More... | |
void | zn_dump_buffer (const void *buffer, uint32_t length, const char *msg, uint32_t flags) |
Dump a buffer to the log bus with specified formatting. More... | |
Detailed Description
Debugging/logging functions.
Function Documentation
void zn_dump_buffer | ( | const void * | buffer, |
uint32_t | length, |
||
const char * | msg, |
||
uint32_t | flags |
||
) |
Dump a buffer to the log bus with specified formatting.
void zn_log | ( | const char * | fmt, |
... |
|||
) |
Print formatted string to the log bus.
- Parameters
-
[in] fmt
printf format string
void zn_log_with_buffer | ( | const char * | buffer, |
size_t | buffer_len |
||
) |
Print string buffer to the log bus.
- Note
- The supplied buffer does NOT need to be a null-terminated.
- Parameters
-
[in] buffer
Buffer containing string to print to log bus [in] buffer_len
Length of string buffer in bytes
void zn_vlog | ( | const char * | fmt, |
va_list | args |
||
) |
Print formatted string with variable arguments to the log bus.
- Parameters
-
[in] fmt
printf format string [in] args
Variable argument list