(subsys, msg string)
| 23 | var logSync sync.Mutex |
| 24 | |
| 25 | func logWithStdLog(subsys, msg string) { |
| 26 | logSync.Lock() |
| 27 | defer logSync.Unlock() |
| 28 | log.Printf("[%s] %s", subsys, msg) |
| 29 | } |
| 30 | |
| 31 | func logWithStdFmt(subsys, msg string) { |
| 32 | logSync.Lock() |
nothing calls this directly
no outgoing calls
no test coverage detected