FileAppender.LockingModelBase.OpenFile Method
Open the output file
[Visual Basic]
MustOverride Public Sub OpenFile( _
ByVal
filename As
String, _
ByVal
append As
Boolean, _
ByVal
encoding As
Encoding _
)
Parameters
-
filename
- The filename to use
-
append
- Whether to append to the file, or overwrite
-
encoding
- The encoding to use
Remarks
Open the file specified and prepare for logging. No writes will be made until AcquireLock is called. Must be called before any calls to AcquireLock, ReleaseLock and CloseFile.
See Also
FileAppender.LockingModelBase Class | log4net.Appender Namespace