package
Version:
v0.0.0-...-f6e1a93
Opens a new window with list of versions in this module.
Published: Apr 25, 2023
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.