[This is preliminary documentation and is subject to change.]

Creates the null event.

Namespace:  NLog
Assembly:  NLog (in NLog.dll) Version: 2.0.0.0

Syntax

C#
public static LogEventInfo CreateNullEvent()
Visual Basic (Declaration)
Public Shared Function CreateNullEvent As LogEventInfo
Visual C++
public:
static LogEventInfo^ CreateNullEvent()

Return Value

Null log event.

See Also