Class GZFilePrinter
A LogPrinter abstract class that provides the utilities to write to a GZip file.
Inheritance
System.Object
GZFilePrinter
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: IPA.Logging.Printers
Assembly: IPA.Loader.dll
Syntax
public abstract class GZFilePrinter : LogPrinter, IDisposable
Fields
| Improve this Doc View SourceFileWriter
The System.IO.StreamWriter that writes to the GZip file.
Declaration
protected StreamWriter FileWriter
Field Value
Type | Description |
---|---|
System.IO.StreamWriter | the writer to the underlying filestream |
Methods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()
Dispose(Boolean)
Disposes the file printer.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | does nothing |
EndPrint()
Called at the end of any print session.
Declaration
public sealed override void EndPrint()
Overrides
| Improve this Doc View SourceGetFileInfo()
Gets the System.IO.FileInfo for the file to write to.
Declaration
protected abstract FileInfo GetFileInfo()
Returns
Type | Description |
---|---|
System.IO.FileInfo | the file to write to |
StartPrint()
Called at the start of any print session.
Declaration
public sealed override void StartPrint()
Overrides
Implements
System.IDisposable