syncthing/discover/debug.go

13 lines
198 B
Go
Raw Normal View History

2014-03-09 08:15:36 +00: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")
)