nrfx_log.h¶
-
group
nrfx_log
This file contains macros that should be implemented according to the needs of the host environment into which nrfx is integrated.
Defines
-
NRFX_LOG_ERROR
(format, ...)¶ Macro for logging a message with the severity level ERROR.
- Parameters
format – printf-style format string, optionally followed by arguments to be formatted and inserted in the resulting string.
-
NRFX_LOG_WARNING
(format, ...)¶ Macro for logging a message with the severity level WARNING.
- Parameters
format – printf-style format string, optionally followed by arguments to be formatted and inserted in the resulting string.
-
NRFX_LOG_INFO
(format, ...)¶ Macro for logging a message with the severity level INFO.
- Parameters
format – printf-style format string, optionally followed by arguments to be formatted and inserted in the resulting string.
-
NRFX_LOG_DEBUG
(format, ...)¶ Macro for logging a message with the severity level DEBUG.
- Parameters
format – printf-style format string, optionally followed by arguments to be formatted and inserted in the resulting string.
-
NRFX_LOG_HEXDUMP_ERROR
(p_memory, length)¶ Macro for logging a memory dump with the severity level ERROR.
- Parameters
p_memory – [in] Pointer to the memory region to be dumped.
length – [in] Length of the memory region in bytes.
-
NRFX_LOG_HEXDUMP_WARNING
(p_memory, length)¶ Macro for logging a memory dump with the severity level WARNING.
- Parameters
p_memory – [in] Pointer to the memory region to be dumped.
length – [in] Length of the memory region in bytes.
-
NRFX_LOG_HEXDUMP_INFO
(p_memory, length)¶ Macro for logging a memory dump with the severity level INFO.
- Parameters
p_memory – [in] Pointer to the memory region to be dumped.
length – [in] Length of the memory region in bytes.
-
NRFX_LOG_HEXDUMP_DEBUG
(p_memory, length)¶ Macro for logging a memory dump with the severity level DEBUG.
- Parameters
p_memory – [in] Pointer to the memory region to be dumped.
length – [in] Length of the memory region in bytes.
-
NRFX_LOG_ERROR_STRING_GET
(error_code)¶ Macro for getting the textual representation of a given error code.
- Parameters
error_code – [in] Error code.
- Returns
String containing the textual representation of the error code.
-