Add forgotten file

This commit is contained in:
Jakob Borg 2014-05-28 12:06:06 +02:00
parent 5369a62fd5
commit ce4f565e2f

13
protocol/debug.go Normal file
View 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
)