log4net SDK Documentation - Microsoft .NET Framework 4.0 |
|
RollingFileAppender.OpenFile Method
Creates and opens the file for logging. If StaticLogFileName is false then the fully qualified name is determined and used.
[Visual Basic]
Overrides Protected Sub OpenFile( _
ByVal
fileName As
String, _
ByVal
append As
Boolean _
)
Parameters
-
fileName
- the name of the file to open
-
append
- true to append to existing file
Remarks
This method will ensure that the directory structure for the fileName specified exists.
See Also
RollingFileAppender Class | log4net.Appender Namespace