log4net SDK Reference

FileAppender.CloseFile Method 

Closes the previously opened file.

[Visual Basic]
Protected Sub CloseFile()
[C#]
protected void CloseFile();

Remarks

Writes the Footer to the file and then closes the file.

See Also

FileAppender Class | log4net.Appender Namespace