Method CaptureToFile
CaptureToFile(string, bool, int, float)
Capture chunked logging to the file at the given path
Declaration
public static void CaptureToFile(string path, bool addSequenceNumber = true, int bufferSize = 8192, float maxElapsedSeconds = 5)
Parameters
Type | Name | Description |
---|---|---|
string | path | Path to the chunked log file |
bool | addSequenceNumber | boolean indicating if sequence number needs to be appended at the end |
int | bufferSize | Maximum buffer size to hold in memory before the data is flushed down to the file system |
float | maxElapsedSeconds | Maximum time to hold the data in the buffer before it is flushed down to the file system. |