MCPcopy Create free account
hub / github.com/bricks-cloud/BricksLLM / logError

Function logError

internal/server/web/admin/admin.go:1145–1152  ·  view source on GitHub ↗
(log *zap.Logger, msg string, prod bool, err error)

Source from the content-addressed store, hash-verified

1143}
1144
1145func logError(log *zap.Logger, msg string, prod bool, err error) {
1146 if prod {
1147 log.Debug(msg, zap.Error(err))
1148 return
1149 }
1150
1151 log.Debug(fmt.Sprintf("%s | %v", msg, err))
1152}

Callers 15

getCreateRouteHandlerFunction · 0.70
getGetRouteHandlerFunction · 0.70
getDeleteRouteHandlerFunction · 0.70
getGetRoutesHandlerFunction · 0.70
getGetKeysHandlerFunction · 0.70
getGetKeysV2HandlerFunction · 0.70
getCreateKeyHandlerFunction · 0.70
getUpdateKeyHandlerFunction · 0.70
getDeleteKeyHandlerFunction · 0.70

Calls 2

DebugMethod · 0.80
ErrorMethod · 0.65

Tested by

no test coverage detected