fix pairing

This commit is contained in:
2026-02-08 03:05:53 +01:00
parent 7eb052f20e
commit 65fed65bf2
3 changed files with 145 additions and 1 deletions

View File

@@ -70,6 +70,11 @@ func (l *LogBuffer) Err(format string, args ...any) {
l.Log("ERR", fmt.Sprintf(format, args...))
}
// Warn logs a WARN level message
func (l *LogBuffer) Warn(format string, args ...any) {
l.Log("WARN", fmt.Sprintf(format, args...))
}
// Entries returns a copy of all log entries
func (l *LogBuffer) Entries() []LogEntry {
l.mu.RLock()