AssemblyVersionLayoutRenderer Class |
Namespace: NLog.Web.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
(Inherited from AssemblyVersionLayoutRenderer.) | |
| FixThreadAgnostic |
Support capture of Assembly-Version from active HttpContext ApplicationInstance
| |
| Format |
Gets or sets the custom format of the assembly version output.
(Inherited from AssemblyVersionLayoutRenderer.) | |
| 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.
(Inherited from AssemblyVersionLayoutRenderer.) | |
| Type |
Gets or sets the type of assembly version to retrieve.
(Inherited from AssemblyVersionLayoutRenderer.) | |
| 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.
(Inherited from AssemblyVersionLayoutRenderer.) | |
| CloseLayoutRenderer |
Closes the layout renderer.
(Inherited from LayoutRenderer.) | |
| GetAssembly |
Gets the assembly specified by Name, or entry assembly otherwise
(Overrides AssemblyVersionLayoutRendererGetAssembly.) | |
| 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 AssemblyVersionLayoutRendererInitializeLayoutRenderer.) | |
| 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.) |
1${assembly-version}