mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-08 22:31:04 +00:00
14 lines
208 B
Go
14 lines
208 B
Go
package upnp
|
|
|
|
import (
|
|
"os"
|
|
"strings"
|
|
|
|
"github.com/calmh/syncthing/logger"
|
|
)
|
|
|
|
var (
|
|
debug = strings.Contains(os.Getenv("STTRACE"), "upnp") || os.Getenv("STTRACE") == "all"
|
|
l = logger.DefaultLogger
|
|
)
|