Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PasarGuard/node
/ setStartupLogPhase
Method
setStartupLogPhase
backend/xray/startup_diagnostics.go:118–120 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
116
}
117
118
func
(c *Core) setStartupLogPhase() {
119
atomic.StoreUint32(&c.logPhase, logPhaseStartup)
120
}
121
122
func
(c *Core) SwitchToRuntimeLogPhase() {
123
atomic.StoreUint32(&c.logPhase, logPhaseRuntime)
Callers
2
TestSwitchToRuntimeLogPhaseDisablesStartupDiagnostics
Function · 0.95
Start
Method · 0.95
Calls
no outgoing calls
Tested by
1
TestSwitchToRuntimeLogPhaseDisablesStartupDiagnostics
Function · 0.76