Documentation
¶
Overview ¶
Package pslog provides a plug-in otter.Logger wrapping slog.Logger for usage in an otter.Cache.
This can be used like so:
cache := otter.Must(&otter.Options[string, string]{
Logger: pslog.New(slog.Default()),
// ...other opts
})
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.