Click or drag to resize

HostEnvironmentLayoutRenderer Class

Rendering development environment. EnvironmentName
Inheritance Hierarchy
SystemObject
  NLog.LayoutRenderersLayoutRenderer
    NLog.Extensions.HostingHostEnvironmentLayoutRenderer

Namespace:  NLog.Extensions.Hosting
Assembly:  NLog.Extensions.Hosting (in NLog.Extensions.Hosting.dll) Version: 6.0.1+7af1964b386878812be6f2f499f815ae51d7aaf9
Syntax
public class HostEnvironmentLayoutRenderer : LayoutRenderer

The HostEnvironmentLayoutRenderer type exposes the following members.

Properties
  NameDescription
Protected propertyLoggingConfiguration
Gets the logging configuration this target is part of.
(Inherited from LayoutRenderer.)
Protected propertyValueFormatter
Value formatter
(Inherited from LayoutRenderer.)
Top
Methods
  NameDescription
Protected methodAppend
Renders the value of layout renderer in the context of the specified log event into StringBuilder.
(Inherited from LayoutRenderer.)
Protected methodCloseLayoutRenderer
Closes the layout renderer.
(Inherited from LayoutRenderer.)
Protected methodGetCulture
Get the CultureInfo for rendering the messages to a String
(Inherited from LayoutRenderer.)
Protected methodGetFormatProvider
Get the IFormatProvider for rendering the messages to a String
(Inherited from LayoutRenderer.)
Protected methodInitializeLayoutRenderer
Initializes the layout renderer.
(Inherited from LayoutRenderer.)
Public methodRender
Renders the value of layout renderer in the context of the specified log event.
(Inherited from LayoutRenderer.)
Protected methodResolveServiceT
Resolves the interface service-type from the service-repository
(Inherited from LayoutRenderer.)
Public methodToString
Returns a string that represents the current object.
(Inherited from LayoutRenderer.)
Top
Remarks
1${host-environment}
See Also