github.com/grailbio/base@v0.0.11/common/log/loginterfaces/logger.go (about)

     1  package loginterfaces
     2  
     3  import (
     4  	"context"
     5  )
     6  
     7  type Logger interface {
     8  	Debug(ctx context.Context, msg string, keysAndValues ...interface{})
     9  	Debugf(ctx context.Context, fs string, args ...interface{})
    10  	Debugv(ctx context.Context, skip int, msg string, keysAndValues ...interface{})
    11  	DebugNoCtx(msg string, keysAndValues ...interface{})
    12  	Info(ctx context.Context, msg string, keysAndValues ...interface{})
    13  	Infof(ctx context.Context, fs string, args ...interface{})
    14  	Infov(ctx context.Context, skip int, msg string, keysAndValues ...interface{})
    15  	InfoNoCtx(msg string, keysAndValues ...interface{})
    16  	Warn(ctx context.Context, msg string, keysAndValues ...interface{})
    17  	Warnf(ctx context.Context, fs string, args ...interface{})
    18  	Warnv(ctx context.Context, skip int, msg string, keysAndValues ...interface{})
    19  	WarnNoCtx(msg string, keysAndValues ...interface{})
    20  	Error(ctx context.Context, msg string, keysAndValues ...interface{})
    21  	Errorf(ctx context.Context, fs string, args ...interface{})
    22  	Errorv(ctx context.Context, skip int, msg string, keysAndValues ...interface{})
    23  	ErrorNoCtx(msg string, keysAndValues ...interface{})
    24  }