1
0
mirror of https://github.com/octoleo/syncthing.git synced 2025-01-12 02:59:14 +00:00
syncthing/scanner/debug.go

13 lines
195 B
Go

package scanner
import (
"log"
"os"
"strings"
)
var (
dlog = log.New(os.Stderr, "scanner: ", log.Lmicroseconds|log.Lshortfile)
debug = strings.Contains(os.Getenv("STTRACE"), "scanner")
)