Initial refactor and cleanup of wwlog
This commit is contained in:
@@ -36,10 +36,11 @@ func daemonLogf(message string, a ...interface{}) {
|
||||
}
|
||||
log.SetOutput(logwriter)
|
||||
loginit = true
|
||||
|
||||
log.SetFlags(0)
|
||||
log.SetPrefix("")
|
||||
}
|
||||
|
||||
log.SetFlags(0)
|
||||
log.SetPrefix("")
|
||||
log.Printf(message, a...)
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user