package
Version:
v0.8.1
Opens a new window with list of versions in this module.
Published: Nov 26, 2024
License: MIT
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
¶
RingLog is a capped logger with fixed size
New creates new Ring logger
func (r *RingLog) Insert(obj interface{})
Insert inserts new entry into the ring logger
func (r *RingLog) Walk() []interface{}
Walk dumps all the entries from the Ring logger
type RingLogger interface {
Insert(interface{})
Walk() []interface{}
}
RingLogger describes ring logger methods
Source Files
¶
Click to show internal directories.
Click to hide internal directories.