MessageLayoutRenderer Class |
Namespace: NLog.LayoutRenderers
The MessageLayoutRenderer type exposes the following members.
| Name | Description | |
|---|---|---|
| MessageLayoutRenderer | Initializes a new instance of the MessageLayoutRenderer class |
| Name | Description | |
|---|---|---|
| ExceptionSeparator |
Gets or sets the string that separates message from the exception.
| |
| LoggingConfiguration |
Gets the logging configuration this target is part of.
(Inherited from LayoutRenderer.) | |
| Raw |
Gets or sets whether it should render the raw message without formatting parameters
| |
| ValueFormatter |
Value formatter
(Inherited from LayoutRenderer.) | |
| WithException |
Gets or sets a value indicating whether to log exception along with message.
|
| Name | Description | |
|---|---|---|
| Append |
Renders the value of layout renderer in the context of the specified log event into StringBuilder.
(Overrides LayoutRendererAppend(StringBuilder, LogEventInfo).) | |
| CloseLayoutRenderer |
Closes the layout renderer.
(Inherited from LayoutRenderer.) | |
| GetCulture |
Get the CultureInfo for rendering the messages to a String (Inherited from LayoutRenderer.) | |
| GetFormatProvider |
Get the IFormatProvider for rendering the messages to a String (Inherited from LayoutRenderer.) | |
| InitializeLayoutRenderer |
Initializes the layout renderer.
(Inherited from LayoutRenderer.) | |
| Render |
Renders the value of layout renderer in the context of the specified log event.
(Inherited from LayoutRenderer.) | |
| ResolveServiceT |
Resolves the interface service-type from the service-repository
(Inherited from LayoutRenderer.) | |
| ToString | Returns a string that represents the current object. (Inherited from LayoutRenderer.) |