LoggingEventFixVolatileData Method Apache log4net™ SDK Documentation

Note: This API is now obsolete.

Fix instance fields that hold volatile data.

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

[ObsoleteAttribute("Use Fix property")]
public void FixVolatileData()
Remarks

Some of the values in instances of LoggingEvent are considered volatile, that is the values are correct at the time the event is delivered to appenders, but will not be consistent at any time afterwards. If an event is to be stored and then processed at a later time these volatile values must be fixed by calling [M:FixVolatileData()]. There is a performance penalty incurred by calling [M:FixVolatileData()] but it is essential to maintaining data consistency.

Calling [M:FixVolatileData()] is equivalent to calling [M:FixVolatileData(bool)] passing the parameter false.

See [M:FixVolatileData(bool)] for more information.

See Also

Reference