MCPcopy Create free account
hub / github.com/danderson/netboot / logWithStdLog

Function logWithStdLog

pixiecore/cli/logging.go:25–29  ·  view source on GitHub ↗
(subsys, msg string)

Source from the content-addressed store, hash-verified

23var logSync sync.Mutex
24
25func logWithStdLog(subsys, msg string) {
26 logSync.Lock()
27 defer logSync.Unlock()
28 log.Printf("[%s] %s", subsys, msg)
29}
30
31func logWithStdFmt(subsys, msg string) {
32 logSync.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected