syncthing/upnp/debug.go
2014-04-18 13:28:51 +02:00

13 lines
186 B
Go

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