Method Dispose Dispose() Destroy the internal resources allocated by the debug logger and flush any pending messages. Declaration public void Dispose()