Debian Codegraph @

tor/log.go

raw symbols SCIP
1 package torscip-go gomod github.com/cretz/bine . `github.com/cretz/bine/tor`/
2
3 import "fmtscip-go gomod github.com/golang/go/src go1.15 fmt/"
4
5 // DebugEnabled returns true if there is a DebugWriter.
6 func (t *Torscip-go gomod github.com/cretz/bine . `github.com/cretz/bine/tor`/Tor#) DebugEnabledscip-go gomod github.com/cretz/bine . `github.com/cretz/bine/tor`/Tor#DebugEnabled().() bool {
7 return t.DebugWriterscip-go gomod github.com/cretz/bine . `github.com/cretz/bine/tor`/Tor#DebugWriter. != nil
8 }
9
10 // Debugf writes the formatted string with a newline appended to the DebugWriter
11 // if present.
12 func (t *Torscip-go gomod github.com/cretz/bine . `github.com/cretz/bine/tor`/Tor#) Debugfscip-go gomod github.com/cretz/bine . `github.com/cretz/bine/tor`/Tor#Debugf().(format string, args ...interface{}) {
13 if w := t.DebugWriterscip-go gomod github.com/cretz/bine . `github.com/cretz/bine/tor`/Tor#DebugWriter.; w != nil {
14 fmtscip-go gomod github.com/golang/go/src go1.15 fmt/.Fprintfscip-go gomod github.com/golang/go/src go1.15 fmt/Fprintf().(w, format+"\n", args...)
15 }
16 }