RegistryLayoutRenderer Class |
Namespace: NLog.LayoutRenderers
The RegistryLayoutRenderer type exposes the following members.
Name | Description | |
---|---|---|
RegistryLayoutRenderer | Initializes a new instance of the RegistryLayoutRenderer class |
Name | Description | |
---|---|---|
DefaultValue |
Gets or sets the value to be output when the specified registry key or value is not found.
| |
Key |
Gets or sets the registry key.
| |
LoggingConfiguration |
Gets the logging configuration this target is part of.
(Inherited from LayoutRenderer.) | |
RequireEscapingSlashesInDefaultValue |
Require escaping backward slashes in DefaultValue. Need to be backwards-compatible.
When true:
`\` in value should be configured as `\\`
`\\` in value should be configured as `\\\\`.
| |
Value |
Gets or sets the registry value name.
| |
ValueFormatter |
Value formatter
(Inherited from LayoutRenderer.) | |
View |
Gets or sets the registry view (see: https://msdn.microsoft.com/de-de/library/microsoft.win32.registryview.aspx).
Allowed values: Registry32, Registry64, Default
|
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.) |