syncthing/discover/debug.go

13 lines
198 B
Go
Raw Normal View History

2014-03-09 01:15:36 -07:00
package discover
import (
"log"
"os"
"strings"
)
var (
dlog = log.New(os.Stderr, "discover: ", log.Lmicroseconds|log.Lshortfile)
debug = strings.Contains(os.Getenv("STTRACE"), "discover")
)