MCPcopy Create free account
hub / github.com/blues/note / loggerHandler

Function loggerHandler

lib/debug.go:239–245  ·  view source on GitHub ↗

Background handler

()

Source from the content-addressed store, hash-verified

237
238// Background handler
239func loggerHandler() {
240 for {
241 output := <-loggerChannel
242 fmt.Println(output)
243 runtime.Gosched()
244 }
245}
246
247// Default timewarn period used for suppressing LogInfo entirely
248const LogPeriodSuppressSecs = 2

Callers 1

defaultLoggerInitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected