| InternalLoggerLogMessageReceived Event |
Note: This API is now obsolete.
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
<ObsoleteAttribute("Instead use InternalEventOccurred. Marked obsolete with NLog v5.3")>
Public Shared Event LogMessageReceived As EventHandler(Of InternalLoggerMessageEventArgs)
Dim handler As EventHandler(Of InternalLoggerMessageEventArgs)
AddHandler InternalLogger.LogMessageReceived, handler
[<ObsoleteAttribute("Instead use InternalEventOccurred. Marked obsolete with NLog v5.3")>]
member LogMessageReceived : IEvent<EventHandler<InternalLoggerMessageEventArgs>,
InternalLoggerMessageEventArgs>
Value
Type:
SystemEventHandlerInternalLoggerMessageEventArgsRemarks
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