isLightweightMode property
Lightweight mode: Skip stack trace capture completely for production When enabled, file location logging is disabled for maximum performance Recommended for production environments where logging performance is critical
Implementation
static bool isLightweightMode = false;