syncthing/versioner/debug.go

14 lines
218 B
Go
Raw Normal View History

2014-05-25 11:49:08 -07:00
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
)