public void Dispose() { this.logger.Dispose(); this.xmlWriter.Dispose(); this.writer.Dispose(); this.stream.Dispose(); }