Format caller location information for diagnostics.

SolidGroundUX DocumentationSolidGroundUX
NL

fn: sgnd_caller_id

Purpose

Format caller location information for diagnostics.

Arguments

  • $1 — Optional call-stack depth (default 1).

Output

Prints basename:line (function).

Returns

  • 0 after printing the identity.

Usage

  sgnd_caller_id 1