()
| 120 | } |
| 121 | |
| 122 | func (c *Core) SwitchToRuntimeLogPhase() { |
| 123 | atomic.StoreUint32(&c.logPhase, logPhaseRuntime) |
| 124 | c.DisableStartupDiagnostics() |
| 125 | } |
| 126 | |
| 127 | func (c *Core) isStartupLogPhase() bool { |
| 128 | return atomic.LoadUint32(&c.logPhase) == logPhaseStartup |