syncthing/mc/debug.go
2014-03-28 11:04:48 +01:00

13 lines
180 B
Go

package mc
import (
"log"
"os"
"strings"
)
var (
dlog = log.New(os.Stderr, "mc: ", log.Lmicroseconds|log.Lshortfile)
debug = strings.Contains(os.Getenv("STTRACE"), "mc")
)