close method

Future<void> close()

Closes the logger and releases all resources.

Implementation

Future<void> close() async {
  _active = false;
  await _filter.destroy();
  await _printer.destroy();
  await _output.destroy();
}