FuncLayoutRenderer Class |
Namespace: NLog.LayoutRenderers
The FuncLayoutRenderer type exposes the following members.
Name | Description | |
---|---|---|
FuncLayoutRenderer(String) |
Initializes a new instance of the FuncLayoutRenderer class.
| |
FuncLayoutRenderer(String, FuncLogEventInfo, LoggingConfiguration, Object) |
Initializes a new instance of the FuncLayoutRenderer class.
|
Name | Description | |
---|---|---|
Culture |
Gets or sets the culture used for rendering.
| |
Format |
Format string for conversion from object to string.
| |
LayoutRendererName |
Name used in config without ${}. E.g. "test" could be used as "${test}".
| |
LoggingConfiguration |
Gets the logging configuration this target is part of.
(Inherited from LayoutRenderer.) | |
RenderMethod |
Method that renders the layout.
This public property will be removed in NLog 5.
| |
ValueFormatter |
Value formatter
(Inherited from LayoutRenderer.) |
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.) | |
RenderValue |
Render the value for this log event
| |
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.) |