| InternalEventOccurredHandler Delegate |
Handle Internal LogEvent written to the InternalLogger
Namespace:
NLog.Common
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public delegate void InternalEventOccurredHandler(
Object sender,
InternalLogEventArgs e
)
Public Delegate Sub InternalEventOccurredHandler (
sender As Object,
e As InternalLogEventArgs
)
Dim instance As New InternalEventOccurredHandler(AddressOf HandlerMethod)
type InternalEventOccurredHandler =
delegate of
sender : Object *
e : InternalLogEventArgs -> unit
Parameters
- sender
- Type: SystemObject
- e
- Type: NLog.CommonInternalLogEventArgs
Remarks
Never use/call NLog Logger-objects when handling these internal events, as it will lead to deadlock / stackoverflow.
See Also