mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-04-28 14:29:19 +08:00
74de8825f6
Signed-off-by: kubbot & kubecub <3293172751ysy@gmail.com>
14 lines
469 B
Go
14 lines
469 B
Go
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
|
|
}
|