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
487 B
14 lines
487 B
2 years 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{}) LogrusLogger
|
||
|
WithName(name string) LogrusLogger
|
||
|
WithCallDepth(depth int) LogrusLogger
|
||
|
}
|