fix pairing
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user