NLog.LayoutRenderers.LayoutRenderer
Render environmental information related to logging events.
Gets the logging configuration this target is part of.
Value formatter
protected LayoutRenderer()
Obsolete and replaced by Setup with NLog v5.2.
Register a custom layout renderer.
Obsolete and replaced by Setup with NLog v5.2.
Register a custom layout renderer.
Obsolete and replaced by Setup with NLog v5.2.
Register a custom layout renderer with a callback function func. The callback receives the logEvent.
Obsolete and replaced by Setup with NLog v5.2.
Register a custom layout renderer with a callback function func. The callback receives the logEvent and the current configuration.
Obsolete and replaced by Setup with NLog v5.2.
Register a custom layout renderer with a callback function layoutRenderer. The callback receives the logEvent and the current configuration.
Renders the value of layout renderer in the context of the specified log event into StringBuilder.
Closes the layout renderer.
Get the CultureInfo for rendering the messages to a String
protected IFormatProvider GetFormatProvider(LogEventInfo logEvent, IFormatProvider layoutCulture = null)
Get the IFormatProvider for rendering the messages to a String
Initializes the layout renderer.
Renders the value of layout renderer in the context of the specified log event.
Resolves the interface service-type from the service-repository