syncthing/cmd/syncthing/debug.go

11 lines
142 B
Go
Raw Normal View History

2014-03-09 09:15:36 +01:00
package main
import (
"os"
"strings"
)
var (
2014-05-15 05:26:55 +02:00
debugNet = strings.Contains(os.Getenv("STTRACE"), "net") || os.Getenv("STTRACE") == "all"
2014-03-09 09:15:36 +01:00
)