Click or drag to resize

InternalLoggerLogMessageReceived Event

Note: This API is now obsolete.

Obsolete and replaced by InternalEventOccurred with NLog 5.3. Event written to the internal log.

Namespace:  NLog.Common
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
[ObsoleteAttribute("Instead use InternalEventOccurred. Marked obsolete with NLog v5.3")]
public static event EventHandler<InternalLoggerMessageEventArgs> LogMessageReceived

Value

Type: SystemEventHandlerInternalLoggerMessageEventArgs
Remarks
EventHandler will only be triggered for events, where severity matches the configured LogLevel. Avoid using/calling NLog Logger-objects when handling these internal events, as it will lead to deadlock / stackoverflow.
See Also