Skip to content
Version 2.11.0
↓ Get the launcher

StellarDiagnostics class

Diagnostic mode toggle. Set environment variable STELLAR_DIAGNOSTICS=1 before launching the game (in Heroic’s env-var settings) to enable per-event logs in PandaChatProbe, PandaWireTap, PandaCombatStubProbe, and ChatService. Default off so normal play produces minimal log volume.

The value is read once at process start and cached for the session — flipping the env var mid-run has no effect. This keeps the hot-path check a single field read (no repeated env lookups).

Lives in Stellar.Abstractions so every layer (Application, Infrastructure, Host) can gate on it without crossing the layered-dependency boundary.

public static class StellarDiagnostics
name description
static IsEnabled { get; } true when STELLAR_DIAGNOSTICS=1 (or =true, case-insensitive) was set in the process environment at startup. false otherwise.