mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-08 22:31:04 +00:00
Add forgotten file
This commit is contained in:
parent
5369a62fd5
commit
ce4f565e2f
13
protocol/debug.go
Normal file
13
protocol/debug.go
Normal file
@ -0,0 +1,13 @@
|
||||
package protocol
|
||||
|
||||
import (
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/calmh/syncthing/logger"
|
||||
)
|
||||
|
||||
var (
|
||||
debug = strings.Contains(os.Getenv("STTRACE"), "protocol") || os.Getenv("STTRACE") == "all"
|
||||
l = logger.DefaultLogger
|
||||
)
|
Loading…
Reference in New Issue
Block a user