MCPcopy
hub / github.com/go-gorm/gorm / Info

Method Info

logger/slog.go:40–44  ·  view source on GitHub ↗
(ctx context.Context, msg string, data ...interface{})

Source from the content-addressed store, hash-verified

38}
39
40func (l *slogLogger) Info(ctx context.Context, msg string, data ...interface{}) {
41 if l.LogLevel >= Info {
42 l.log(ctx, slog.LevelInfo, msg, slog.Any("data", data))
43 }
44}
45
46func (l *slogLogger) Warn(ctx context.Context, msg string, data ...interface{}) {
47 if l.LogLevel >= Warn {

Callers

nothing calls this directly

Calls 1

logMethod · 0.95

Tested by

no test coverage detected