dispose static method
Implementation
static Future<void> dispose() async {
if (!_initialized) return;
final previousFileOutput = _fileOutput;
_logger = null;
_consoleLogger = null;
_config = null;
_fileOutput = null;
_initialized = false;
_reportedBufferedLogs = false;
_lastInitError = null;
if (previousFileOutput != null) {
await _safeDestroyFileOutput(previousFileOutput);
}
}