MCPcopy
hub / github.com/gin-gonic/gin / debugPrintError

Function debugPrintError

debug.go:110–114  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

108}
109
110func debugPrintError(err error) {
111 if err != nil && IsDebugging() {
112 fmt.Fprintf(DefaultErrorWriter, "[GIN-debug] [ERROR] %v\n", err)
113 }
114}

Callers 7

RunMethod · 0.85
RunTLSMethod · 0.85
RunUnixMethod · 0.85
RunFdMethod · 0.85
RunQUICMethod · 0.85
RunListenerMethod · 0.85
TestDebugPrintErrorFunction · 0.85

Calls 1

IsDebuggingFunction · 0.85

Tested by 1

TestDebugPrintErrorFunction · 0.68