Discover & main tracing

This commit is contained in:
Jakob Borg committed 2014-03-09 09:15:36 +01:00
1 parent 52ee7d5724
commit 2553ba0463
5 files changed
+73 -57

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
package discover
import (
"log"
"os"
"strings"
)
var (
dlog = log.New(os.Stderr, "discover: ", log.Lmicroseconds|log.Lshortfile)
debug = strings.Contains(os.Getenv("STTRACE"), "discover")
)