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

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

protected virtual void SetQWForFiles(
	Stream fileStream
)

Parameters

fileStream
Type: System.IOStream
the file stream that has been opened for writing
Remarks

This implementation of [M:SetQWForFiles(Stream)] creates a StreamWriter 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 Stream in some way, for example to encrypt the output data using a System.Security.Cryptography.CryptoStream.

See Also

Reference