FileAppender SetQWForFiles Method (Stream)Apache log4net™ SDK Documentation
Sets the quiet writer used for file output

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

protected virtual void SetQWForFiles(
	Stream fileStream
)

Parameters

fileStream
Type: OnlineSystem.IO Stream
the file stream that has been opened for writing
Remarks

This implementation of [M:SetQWForFiles(Stream)] creates a OnlineStreamWriter over the fileStream and passes it to the [M:SetQWForFiles(TextWriter)] method.

This method can be overridden by sub classes that want to wrap the OnlineStream in some way, for example to encrypt the output data using a System.Security.Cryptography.CryptoStream.

See Also