Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶ added in v0.2.14
type Interface interface {
Error(context.Context, string, ...interface{})
GetMode() LogLevel
GetStackLevel() int
Info(context.Context, string, ...interface{})
SetMode(LogLevel) Interface
SetStackLevel(level int)
Trace(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error)
Warn(context.Context, string, ...interface{})
}
Interface is a logger interface
Click to show internal directories.
Click to hide internal directories.