You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
469 B
14 lines
469 B
1 year ago
|
package log
|
||
|
|
||
|
import "context"
|
||
|
|
||
|
type Logger interface {
|
||
|
Debug(ctx context.Context, msg string, keysAndValues ...interface{})
|
||
|
Info(ctx context.Context, msg string, keysAndValues ...interface{})
|
||
|
Warn(ctx context.Context, msg string, err error, keysAndValues ...interface{})
|
||
|
Error(ctx context.Context, msg string, err error, keysAndValues ...interface{})
|
||
|
WithValues(keysAndValues ...interface{}) Logger
|
||
|
WithName(name string) Logger
|
||
|
WithCallDepth(depth int) Logger
|
||
|
}
|