MCPcopy
hub / github.com/gourouting/singo / Debug

Method Debug

util/logger.go:70–76  ·  view source on GitHub ↗

Debug logs a debug message.

(format string, v ...interface{})

Source from the content-addressed store, hash-verified

68
69// Debug logs a debug message.
70func (ll *Logger) Debug(format string, v ...interface{}) {
71 if LevelDebug > ll.level {
72 return
73 }
74 msg := fmt.Sprintf("[D] "+format, v...)
75 ll.Println(msg)
76}
77
78// BuildLogger builds the logger.
79func BuildLogger(level string) {

Callers

nothing calls this directly

Calls 1

PrintlnMethod · 0.95

Tested by

no test coverage detected