package memory
import "github.com/bep/logg/handlers/memory"
Package memory implements an in-memory handler useful for testing, as the entries can be accessed after writes.
Index ¶
Types ¶
type Handler ¶
Handler implementation.
func New ¶
func New() *Handler
New handler.
func (*Handler) HandleLog ¶
HandleLog implements logg.Handler.
Source Files ¶
- Version
- v0.4.0 (latest)
- Published
- Nov 6, 2023
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 5 days ago –
Tools for package owners.