wheat-cache/pkg/logx/define.go

22 lines
431 B
Go

package logx
import (
"context"
"gitee.com/timedb/wheatCache/pkg/event"
)
type LogLevelState int8
type upLogger struct {
produce event.ProduceInterface
}
type logInterface interface {
Debug(ctx context.Context, msg interface{})
Info(ctx context.Context, msg interface{})
Warn(ctx context.Context, msg interface{})
Error(ctx context.Context, msg interface{})
Print(level string, ctx context.Context, msg interface{})
}