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

Function logError

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

Source from the content-addressed store, hash-verified

1346}
1347
1348func logError(log *zap.Logger, msg string, prod bool, err error) {
1349 if prod {
1350 log.Debug(msg, zap.Error(err))
1351 return
1352 }
1353 log.Debug(fmt.Sprintf("%s | %v", msg, err))
1354}
1355
1356func (ps *ProxyServer) Shutdown(ctx context.Context) error {
1357 if err := ps.server.Shutdown(ctx); err != nil {

Calls 2

DebugMethod · 0.80
ErrorMethod · 0.65

Tested by

no test coverage detected