Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGormLogger ¶ added in v0.1.8
func NewGormLogger(options ...GormLoggerOption) glogger.Interface
Types ¶
type EsimZap ¶ added in v0.1.8
func NewEsimZap ¶ added in v0.1.8
type GormLoggerOption ¶ added in v0.1.8
type GormLoggerOption func(c *gormLogger)
func WithGLogEsimZap ¶ added in v0.1.8
func WithGLogEsimZap(ez *EsimZap) GormLoggerOption
type GormLoggerOptions ¶ added in v0.1.8
type GormLoggerOptions struct{}
type Logger ¶
type Logger interface { Error(msg string) Debugf(string, ...interface{}) Infof(string, ...interface{}) Warnf(string, ...interface{}) Errorf(string, ...interface{}) DPanicf(string, ...interface{}) Panicf(string, ...interface{}) Fatalf(string, ...interface{}) Debugc(context.Context, string, ...interface{}) Infoc(context.Context, string, ...interface{}) Warnc(context.Context, string, ...interface{}) Errorc(context.Context, string, ...interface{}) DPanicc(context.Context, string, ...interface{}) Panicc(context.Context, string, ...interface{}) Fatalc(context.Context, string, ...interface{}) }
func NewNullLogger ¶
func NewNullLogger() Logger
type LoggerOptions ¶
type LoggerOptions struct{}
type ZapOption ¶ added in v0.1.8
type ZapOption func(c *EsimZap)
func WithEsimZapDebug ¶ added in v0.1.8
func WithEsimZapJSON ¶ added in v0.1.8
func WithLogLevel ¶ added in v0.1.8
Click to show internal directories.
Click to hide internal directories.