 | InternalEventOccurredHandler Delegate |
Handle Internal LogEvent written to the InternalLogger
Namespace:
NLog.Common
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic 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