Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LogBuffer ¶
type LogBuffer struct {
// contains filtered or unexported fields
}
LogBuffer is a circular buffer that stores recent log entries
func NewLogBuffer ¶
NewLogBuffer creates a new log buffer with specified capacity
type LogBufferWriter ¶
type LogBufferWriter struct {
// contains filtered or unexported fields
}
LogBufferWriter is an io.Writer that captures log output and stores in buffer
func NewLogBufferWriter ¶
func NewLogBufferWriter(original io.Writer) *LogBufferWriter
NewLogBufferWriter creates a writer that captures logs to buffer
Click to show internal directories.
Click to hide internal directories.