Display the active SolidGroundUX logfile

SolidGroundUX DocumentationSolidGroundUX
NL

fn: view_log

Purpose

Display the logfile selected by the current SolidGroundUX logging configuration.

Behavior

  • Uses the same logfile resolver as say().
  • Displays the resolved path before showing the file contents.
  • Reports an empty or unavailable logfile without failing unexpectedly.

Returns

  • 0 when the logfile is displayed.
  • 1 when no readable logfile can be resolved.

Usage

  view_log