syncthing/mc/debug.go

13 lines
180 B
Go
Raw Normal View History

2014-03-28 10:04:48 +00:00
package mc
import (
"log"
"os"
"strings"
)
var (
dlog = log.New(os.Stderr, "mc: ", log.Lmicroseconds|log.Lshortfile)
debug = strings.Contains(os.Getenv("STTRACE"), "mc")
)