close method

  1. @override
Future<void> close()
override

Closes the logger and releases all resources.

Implementation

@override
Future<void> close() async {
  try {
    Logger.removeLogListener(_logListener);
  } catch (_) {}
  return await _logger.close();
}