 | GelfLayoutGetFormattedMessage Method |
Renders formatted output using the log event as context.
Namespace:
NLog.Layouts
Assembly:
NLog.Targets.Network (in NLog.Targets.Network.dll) Version: 6.0.0+be83582280f7a841b0d3c6ae75b4f95aaf07e914
Syntaxprotected override string GetFormattedMessage(
LogEventInfo logEvent
)
Protected Overrides Function GetFormattedMessage (
logEvent As LogEventInfo
) As String
Dim logEvent As LogEventInfo
Dim returnValue As String
returnValue = Me.GetFormattedMessage(logEvent)
abstract GetFormattedMessage :
logEvent : LogEventInfo -> string
override GetFormattedMessage :
logEvent : LogEventInfo -> string
Parameters
- logEvent
- Type: NLogLogEventInfo
The logging event.
Return Value
Type:
StringThe formatted output.
See Also