 | Log4JXmlEventLayoutGetFormattedMessage Method |
Renders the layout for the specified logging event by invoking layout renderers.
Namespace: NLog.LayoutsAssembly: NLog (in NLog.dll) Version: 4.3.0
Syntaxprotected override string GetFormattedMessage(
LogEventInfo logEvent
)
Protected Overrides Function GetFormattedMessage (
logEvent As LogEventInfo
) As String
Parameters
- logEvent
- Type: NLogLogEventInfo
The logging event.
Return Value
Type:
StringThe rendered layout.
See Also