Backend-Agnostic Print Options#
Message-type / option flags accepted by SL_LOG_PRINT_TARGET_EX.
These values are forwarded to the active backend:
SystemView backend: forwarded directly to SEGGER_SYSVIEW_VPrintfTargetEx() (numerically identical to SEGGER_SYSVIEW_LOG / WARNING / ERROR).
I/O Stream (proprietary) backend: used to pick the level prefix in the emitted text line.
Macros#
#define
SL_LOG_PRINT_OPT_LOG (0u)
Informational / generic log message.
#define
SL_LOG_PRINT_OPT_WARN (1u)
Warning message.
#define
SL_LOG_PRINT_OPT_ERROR (2u)
Error message.
#define
SL_LOG_PRINT_OPT_APPEND (1u << 6)
Append to previous line instead of starting a new one (honoured by SystemView; ignored by other backends).