()
| 107 | } |
| 108 | |
| 109 | func (c *Core) DisableStartupDiagnostics() { |
| 110 | c.startupMu.Lock() |
| 111 | defer c.startupMu.Unlock() |
| 112 | |
| 113 | c.startupDiagnosticsEnabled = false |
| 114 | c.startupFailure = "" |
| 115 | c.startupLogs = nil |
| 116 | } |
| 117 | |
| 118 | func (c *Core) setStartupLogPhase() { |
| 119 | atomic.StoreUint32(&c.logPhase, logPhaseStartup) |
no outgoing calls