Get the current output file name
Namespace: log4net.AppenderAssembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
protected string GetNextOutputFileName(
string fileName
)
Protected Function GetNextOutputFileName (
fileName As String
) As String
protected:
String^ GetNextOutputFileName(
String^ fileName
)
member GetNextOutputFileName :
fileName : string -> string
Parameters
- fileName
- Type: SystemString
the base file name
Return Value
Type:
Stringthe output file name
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.
Reference