Creates a ring buffer that keeps the most recent capacity records.
capacity
MemorySink({this.capacity = 100, this._minLevel = LogLevel.trace});