clear method

void clear()

Clears all captured logs.

Implementation

void clear() => sink.clear();