mirror of
https://github.com/zrepl/zrepl.git
synced 2024-12-02 21:37:50 +01:00
16 lines
197 B
Go
16 lines
197 B
Go
|
package trace
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"os"
|
||
|
)
|
||
|
|
||
|
const debugEnabled = false
|
||
|
|
||
|
func debug(format string, args ...interface{}) {
|
||
|
if !debugEnabled {
|
||
|
return
|
||
|
}
|
||
|
fmt.Fprintf(os.Stderr, format+"\n", args...)
|
||
|
}
|