MCPcopy
hub / github.com/eddycjy/go-gin-example / Warn

Function Warn

pkg/logging/log.go:59–62  ·  view source on GitHub ↗

Warn output logs at warn level

(v ...interface{})

Source from the content-addressed store, hash-verified

57
58// Warn output logs at warn level
59func Warn(v ...interface{}) {
60 setPrefix(WARNING)
61 logger.Println(v)
62}
63
64// Error output logs at error level
65func Error(v ...interface{}) {

Callers 3

CheckImageSizeFunction · 0.92
UploadImageFunction · 0.92
ImportTagFunction · 0.92

Calls 1

setPrefixFunction · 0.85

Tested by

no test coverage detected