mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 19:39:05 +00:00
14 lines
212 B
Go
14 lines
212 B
Go
package beacon
|
|
|
|
import (
|
|
"os"
|
|
"strings"
|
|
|
|
"github.com/calmh/syncthing/logger"
|
|
)
|
|
|
|
var (
|
|
debug = strings.Contains(os.Getenv("STTRACE"), "beacon") || os.Getenv("STTRACE") == "all"
|
|
l = logger.DefaultLogger
|
|
)
|