mirror of
https://github.com/syncthing/syncthing.git
synced 2024-11-16 18:41:59 -07:00
14 lines
216 B
Go
14 lines
216 B
Go
package discover
|
|
|
|
import (
|
|
"os"
|
|
"strings"
|
|
|
|
"github.com/calmh/syncthing/logger"
|
|
)
|
|
|
|
var (
|
|
debug = strings.Contains(os.Getenv("STTRACE"), "discover") || os.Getenv("STTRACE") == "all"
|
|
l = logger.DefaultLogger
|
|
)
|