mirror of
https://github.com/zrepl/zrepl.git
synced 2024-12-11 09:42:32 +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...)
|
||
|
}
|