FileAppender.LockingModelBase.CreateStream Method Apache log4netâ„¢ SDK Documentation
Helper method that creates a FileStream under CurrentAppender's SecurityContext.

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax

protected Stream CreateStream(
	string filename,
	bool append,
	FileShare fileShare
)

Parameters

filename
Type: System.String
append
Type: System.Boolean
fileShare
Type: System.IO.FileShare

Return Value

Type: Stream

[Missing <returns> documentation for "M:log4net.Appender.FileAppender.LockingModelBase.CreateStream(System.String,System.Boolean,System.IO.FileShare)"]

Remarks

Typically called during OpenFile or AcquireLock.

If the directory portion of the filename does not exist, it is created via Directory.CreateDirecctory.

See Also

Reference