Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BunSlogHook ¶
type BunSlogHook struct {
// contains filtered or unexported fields
}
func NewBunSlogHook ¶
func NewBunSlogHook(logger *slog.Logger) *BunSlogHook
func (*BunSlogHook) AfterQuery ¶
func (h *BunSlogHook) AfterQuery(ctx context.Context, event *bun.QueryEvent)
func (*BunSlogHook) BeforeQuery ¶
func (h *BunSlogHook) BeforeQuery( ctx context.Context, event *bun.QueryEvent, ) context.Context
type ContextLogger ¶
type ContextLogger struct {
// contains filtered or unexported fields
}
func NewContextLogger ¶
func NewContextLogger(parent slog.Handler) *ContextLogger
Click to show internal directories.
Click to hide internal directories.