syncthing/discover/debug.go
2014-03-09 09:15:36 +01:00

13 lines
198 B
Go

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