create
fun create(bufferBytes: Int = DEFAULT_BUFFER_BYTES, appendedTags: (tag: String) -> Boolean = { false }): LogsDebugTab
Creates a LogsDebugTab.
Parameters
bufferBytes
the most memory that the held lines may take.
appendedTags
whether the app's logger also gives the lines of a tag to append.
Throws
when bufferBytes is not positive.
No-op build: the tab holds no lines and never calls appendedTags, and bufferBytes is only checked, so that a value the runtime rejects fails in release too.