Documentation ¶ Index ¶ func New() *slog.Logger type MockLogger func (h *MockLogger) Enabled(_ context.Context, _ slog.Level) bool func (h *MockLogger) Handle(_ context.Context, _ slog.Record) error func (h *MockLogger) WithAttrs(_ []slog.Attr) slog.Handler func (h *MockLogger) WithGroup(_ string) slog.Handler Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New() *slog.Logger Types ¶ type MockLogger ¶ type MockLogger struct{} func (*MockLogger) Enabled ¶ func (h *MockLogger) Enabled(_ context.Context, _ slog.Level) bool func (*MockLogger) Handle ¶ func (h *MockLogger) Handle(_ context.Context, _ slog.Record) error func (*MockLogger) WithAttrs ¶ func (h *MockLogger) WithAttrs(_ []slog.Attr) slog.Handler func (*MockLogger) WithGroup ¶ func (h *MockLogger) WithGroup(_ string) slog.Handler Source Files ¶ View all Source files mockslogger.go Click to show internal directories. Click to hide internal directories.