Method | Description | |
---|---|---|
MonitorTextFileOutput ( string configuredPath, int maxCountPerFile, bool useGzipCompression ) : System |
Initializes a new file for IMulticastLogEntry: the final file name is based on FileUtil.FileNameUniqueTimeUtcFormat with a ".ckmon" extension. You must call
|
|
Write ( IMulticastLogEntry e ) : void |
Writes a log entry (that can actually be a IMulticastLogEntry).
|
Method | Description | |
---|---|---|
CloseCurrentFile ( ) : void |
Called when the current file is closed.
|
|
OpenNewFile ( ) : Stream |
Called when a new file is created.
|
public MonitorTextFileOutput ( string configuredPath, int maxCountPerFile, bool useGzipCompression ) : System | ||
configuredPath | string | The path: it can be absolute and when relative, it will be under |
maxCountPerFile | int | Maximum number of entries per file. Must be greater than 1. |
useGzipCompression | bool | True to gzip the file. |
return | System |
public Write ( IMulticastLogEntry e ) : void | ||
e | IMulticastLogEntry | The log entry. |
return | void |