Run console message visibility tests for every log level

SolidGroundUX DocumentationSolidGroundUX
NL

fn: loglevel_test

Purpose

Cycle through all supported SGND_CONSOLE_LOG_LEVEL values and emit one test message for each message type.

Behavior

  • Public smoke-test entry point.
  • Temporarily sets SGND_CONSOLE_LOG_LEVEL to off, quiet, normal, and debug.
  • Emits INFO, STRT, WARN, FAIL, CNCL, OK, END, DEBUG, and EMPTY messages for each level so console filtering can be inspected visually.
  • Restores the original SGND_CONSOLE_LOG_LEVEL before returning.

Returns

0 when the test sequence completes.

Usage

  loglevel_test