syncthing/versioner/debug.go
2014-05-25 20:49:08 +02:00

14 lines
218 B
Go

package versioner
import (
"os"
"strings"
"github.com/calmh/syncthing/logger"
)
var (
debug = strings.Contains(os.Getenv("STTRACE"), "versioner") || os.Getenv("STTRACE") == "all"
l = logger.DefaultLogger
)