Open the file specified and prepare for logging.
Namespace: log4net.AppenderAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- filename
- Type: System String
The filename to use
- append
- Type: System Boolean
Whether to append to the file, or overwrite
- encoding
- Type: System.Text 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