log4net SDK Reference

RollingFileAppender.GetNextOutputFileName Method 

Get the current output file name

[Visual Basic]
Protected Function GetNextOutputFileName( _
   ByVal fileName As String _
) As String
[C#]
protected string GetNextOutputFileName(
   string fileName
);

Parameters

fileName
the base file name

Return Value

the output file name

Remarks

The output file name is based on the base fileName specified. If StaticLogFileName is set then the output file name is the same as the base file passed in. Otherwise the output file depends on the date pattern, on the count direction or both.

See Also

RollingFileAppender Class | log4net.Appender Namespace