package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Jun 9, 2021
License: AGPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
BufLog implements a simple log buffer that can be supplied to a std
log instance. It stores logs up to N lines.
New returns a new log buffer that stores up to maxLines lines.
Lines returns the log lines.
Write writes a log item to the buffer maintaining maxLines capacity
using LIFO.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.