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

Method Info

logger/logger.go:138–142  ·  view source on GitHub ↗

Info print info

(ctx context.Context, msg string, data ...interface{})

Source from the content-addressed store, hash-verified

136
137// Info print info
138func (l *logger) Info(ctx context.Context, msg string, data ...interface{}) {
139 if l.LogLevel >= Info {
140 l.Printf(l.infoStr+msg, append([]interface{}{utils.FileWithLineNum()}, data...)...)
141 }
142}
143
144// Warn print warn messages
145func (l *logger) Warn(ctx context.Context, msg string, data ...interface{}) {

Callers

nothing calls this directly

Calls 2

FileWithLineNumFunction · 0.92
PrintfMethod · 0.80

Tested by

no test coverage detected