MCPcopy Create free account
hub / github.com/pydio/cells / Error

Method Error

common/storage/sql/logger.go:67–71  ·  view source on GitHub ↗

Error print error messages

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

Source from the content-addressed store, hash-verified

65
66// Error print error messages
67func (l *zapLogger) Error(ctx context.Context, msg string, data ...interface{}) {
68 if l.LogLevel >= glog.Error {
69 log2.Logger(ctx).Error("[SQL] "+fmt.Sprintf(msg, data...), zap.String("file", utils.FileWithLineNum()), zap.String("layer", "sql"))
70 }
71}
72
73// Trace print sql message
74func (l *zapLogger) Trace(ctx context.Context, begin time.Time, fc func() (string, int64), err error) {

Callers

nothing calls this directly

Calls 3

ErrorMethod · 0.65
StringMethod · 0.65
LoggerMethod · 0.45

Tested by

no test coverage detected