| Log4JXmlEventLayoutGetFormattedMessage Method |
Renders formatted output using the log event as context.
Namespace:
NLog.Layouts
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax protected 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