package
Version:
v3.32.2
Opens a new window with list of versions in this module.
Published: Nov 18, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package memory implements a pkg/log.Handler that saves all entries in process memory
type Handler struct {
Entries []log.Entry
}
Handler implements log.Handler by storing entries in memory.
New creates a new Handler that stores the entries in memory.
HandleLog implements log.Handler.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.