AssemblyVersionLayoutRenderer Class |
Namespace: NLog.LayoutRenderers
The AssemblyVersionLayoutRenderer type exposes the following members.
Name | Description | |
---|---|---|
AssemblyVersionLayoutRenderer | Initializes a new instance of the AssemblyVersionLayoutRenderer class |
Name | Description | |
---|---|---|
Default |
The default value to render if the Version is not available
| |
Format |
Gets or sets the custom format of the assembly version output.
| |
LoggingConfiguration |
Gets the logging configuration this target is part of.
(Inherited from LayoutRenderer.) | |
Name |
The (full) name of the assembly. If null, using the entry assembly.
| |
Type |
Gets or sets the type of assembly version to retrieve.
| |
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.
(Overrides LayoutRendererCloseLayoutRenderer.) | |
GetAssembly |
Gets the assembly specified by Name, or entry assembly otherwise
| |
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.
(Overrides LayoutRendererInitializeLayoutRenderer.) | |
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.) |