Creates and opens the file for logging. If StaticLogFileName
is false then the fully qualified name is determined and used.
Namespace: log4net.AppenderAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- fileName
- Type: System String
the name of the file to open
- append
- Type: System Boolean
true to append to existing file
Remarks
This method will ensure that the directory structure for the fileName specified exists.
See Also