package
0.1.1
Repository: https://github.com/couchbase/go-couchbase.git
Documentation: pkg.go.dev

# Functions

ConsolidateByTitle implements the MsgConsolidateFunc signature by consolidating trace message when their titles are the same.
MsgsToString formats a []Msg into a pretty string.
NewRingBuffer returns a RingBuffer initialized with the given capacity and optional consolidateFunc.

# Structs

A Msg is a trace message, which might be repeated.
A RingBuffer provides a ring buffer to capture trace messages, along with an optional consolidation func that can merge similar, consecutive trace messages.

# Type aliases

MsgConsolidateFunc is the func signature of an optional merge function, allowing for similar trace messages to be consolidated.