mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 03:18:59 +00: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
|
|
)
|