Method | Description | |
---|---|---|
Dispose ( ) : void | ||
Emit ( LogEvent logEvent ) : void |
Emits a log event to this sink
|
|
SizeRollingFileSink ( string pathFormat, ITextFormatter formatter, long fileSizeLimitBytes, System.TimeSpan retainedFileDurationLimit, |
Method | Description | |
---|---|---|
ApplyRetentionPolicy ( string currentFilePath ) : void | ||
EnsureDirectoryCreated ( string path ) : void | ||
GetLatestSink ( ) : |
||
NextSizeLimitedFileSink ( bool resetSequance = false, LogEventLevel level = null ) : |
||
ProcessQueue ( ) : void | ||
ProcessQueueWithRetry ( ) : void | ||
WriteToFile ( LogEvent logEvent ) : void |
public Emit ( LogEvent logEvent ) : void | ||
logEvent | LogEvent | The |
return | void |
public SizeRollingFileSink ( string pathFormat, ITextFormatter formatter, long fileSizeLimitBytes, System.TimeSpan retainedFileDurationLimit, |
||
pathFormat | string | |
formatter | ITextFormatter | |
fileSizeLimitBytes | long | |
retainedFileDurationLimit | System.TimeSpan | |
encoding | ||
return | System |