MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / Warn

Method Warn

api/pkg/telemetry/gorm_logger.go:34–36  ·  view source on GitHub ↗
(ctx context.Context, s string, i ...any)

Source from the content-addressed store, hash-verified

32}
33
34func (gorm *gormLogger) Warn(ctx context.Context, s string, i ...any) {
35 gorm.logger.WithSpan(gorm.tracer.Span(ctx).SpanContext()).Warn(fmt.Errorf(s, i...))
36}
37
38func (gorm *gormLogger) Error(ctx context.Context, s string, i ...any) {
39 gorm.logger.WithSpan(gorm.tracer.Span(ctx).SpanContext()).Error(fmt.Errorf(s, i...))

Callers

nothing calls this directly

Calls 3

WarnMethod · 0.65
WithSpanMethod · 0.65
SpanMethod · 0.65

Tested by

no test coverage detected