blob: 07c7c4be6bf60abe285c774ea49861e4e9028e4f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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
)
|