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

Informational / generic log message.

#define

Warning message.

#define

Error message.

#define

Append to previous line instead of starting a new one (honoured by SystemView; ignored by other backends).

Macro Definition Documentation#

SL_LOG_PRINT_OPT_LOG#

#define SL_LOG_PRINT_OPT_LOG
Value:
(0u)

Informational / generic log message.


SL_LOG_PRINT_OPT_WARN#

#define SL_LOG_PRINT_OPT_WARN
Value:
(1u)

Warning message.


SL_LOG_PRINT_OPT_ERROR#

#define SL_LOG_PRINT_OPT_ERROR
Value:
(2u)

Error message.


SL_LOG_PRINT_OPT_APPEND#

#define SL_LOG_PRINT_OPT_APPEND
Value:
(1u << 6)

Append to previous line instead of starting a new one (honoured by SystemView; ignored by other backends).