Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

LoggingEvent.WriteRenderedMessage�Method�

Write the rendered message to a TextWriter

[Visual�Basic]
Public�Sub�WriteRenderedMessage( _
���ByVal writer�As�TextWriter�_
)
[C#]
public�void�WriteRenderedMessage(
���TextWriterwriter
);

Parameters

writer
the writer to write the message to

Remarks

Unlike the RenderedMessage property this method does store the message data in the internal cache. Therefore if called only once this method should be faster than the RenderedMessage property, however if the message is to be accessed multiple times then the property will be more efficient.

See Also

LoggingEvent Class | log4net.Core Namespace