Documentation
¶
Overview ¶
Package authlog preserves the original structured-log adapter import path. New code should import github.com/faustbrian/go-authentication/v2/adapters/slog. Instrumenter is a type-identical alias and New forwards; logger/handler ownership, synchronous callbacks and privacy projection are canonical behavior.
Deprecated: use github.com/faustbrian/go-authentication/v2/adapters/slog.
Index ¶
- type Instrumenterdeprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instrumenter
deprecated
type Instrumenter = authenticationslog.Instrumenter
Instrumenter emits one bounded structured log record per attempt.
Deprecated: use authenticationslog.Instrumenter.
func New
deprecated
func New(logger *slog.Logger) (*Instrumenter, error)
New creates a structured authentication log instrumenter.
Deprecated: use authenticationslog.New.
Click to show internal directories.
Click to hide internal directories.