update
This commit is contained in:
12
src/raft/util.go
Normal file
12
src/raft/util.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package raft
|
||||
|
||||
import "log"
|
||||
|
||||
// Debugging
|
||||
const Debug = false
|
||||
|
||||
func DPrintf(format string, a ...interface{}) {
|
||||
if Debug {
|
||||
log.Printf(format, a...)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user