Write writes a log line into the ring buffer. Implementations must not retain the provided buffer.
([]byte)
| 27 | // Write writes a log line into the ring buffer. |
| 28 | // Implementations must not retain the provided buffer. |
| 29 | Write([]byte) (int, error) |
| 30 | } |
| 31 | |
| 32 | func NewMemoryBuffer(numEntries int) Buffer { |
no outgoing calls