package raft import ( "fmt" "os" ) // Writes to standard error. func warn(msg string, v ...interface{}) { fmt.Fprintf(os.Stderr, msg+"\n", v...) }