Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PasarGuard/node
/ isStartupLogPhase
Method
isStartupLogPhase
backend/xray/startup_diagnostics.go:127–129 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
125
}
126
127
func
(c *Core) isStartupLogPhase() bool {
128
return
atomic.LoadUint32(&c.logPhase) == logPhaseStartup
129
}
130
131
func
(c *Core) RecordStartupLog(line string) {
132
c.startupMu.Lock()
Callers
3
TestSwitchToRuntimeLogPhaseDisablesStartupDiagnostics
Function · 0.95
captureProcessLogs
Method · 0.95
recordProcessLog
Method · 0.95
Calls
no outgoing calls
Tested by
1
TestSwitchToRuntimeLogPhaseDisablesStartupDiagnostics
Function · 0.76