Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
Logger *sloglogger.Logger
SlowThreshold time.Duration
IgnoreNoRowsError bool
Level string
// contains filtered or unexported fields
}
func (*Logger) AfterQuery ¶
func (l *Logger) AfterQuery(ctx context.Context, event *bun.QueryEvent)
func (*Logger) BeforeQuery ¶
Click to show internal directories.
Click to hide internal directories.