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