setCurrentScope static method

void setCurrentScope(
  1. ZenScope scope
)

Set the current scope (used internally by ZenRoute)

Implementation

static void setCurrentScope(ZenScope scope) {
  _currentScope = scope;
  if (ZenConfig.enableDebugLogs) {
    ZenLogger.logDebug('🔧 Zen.currentScope updated to: ${scope.name}');
  }
}