Click or drag to resize

ISetupExtensionsBuilder Interface

Interface for fluent setup of LogFactory options for extension loading

Namespace:  NLog.Config
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public interface ISetupExtensionsBuilder

The ISetupExtensionsBuilder type exposes the following members.

Properties
  NameDescription
Public propertyLogFactory
LogFactory under configuration
Top
Extension Methods
  NameDescription
Public Extension MethodAutoLoadExtensions
Enable/disables autoloading of NLog extensions by scanning and loading available assemblies
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterAspNetLayoutRenderer(String, FuncLogEventInfo, HttpContext, LoggingConfiguration, Object)Overloaded.
Register a custom layout renderer using custom delegate-method layoutMethod
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterAspNetLayoutRenderer(String, FuncLogEventInfo, HttpContextBase, LoggingConfiguration, Object)Overloaded.
Register a custom layout renderer using custom delegate-method layoutMethod
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterAssembly(Assembly)Overloaded.
Registers NLog extensions from the assembly.
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterAssembly(String)Overloaded.
Registers NLog extensions from the assembly type name
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterConditionMethod(String, FuncLogEventInfo, Object)Overloaded.
Register a custom condition method, that can use in condition filters
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterConditionMethod(String, FuncObject)Overloaded.
Register a custom condition method, that can use in condition filters
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterLayout(String, Type)Overloaded.
Register a custom NLog Layout.
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterLayoutT(String)Overloaded.
Register a custom NLog Layout.
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterLayoutT(FuncT, String)Overloaded.
Register a custom NLog Layout.
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterLayoutRenderer(FuncLayoutRenderer)Overloaded.
Register a custom NLog LayoutRenderer with a callback function
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterLayoutRenderer(String, Type)Overloaded.
Register a custom NLog LayoutRenderer.
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterLayoutRenderer(String, FuncLogEventInfo, Object)Overloaded.
Register a custom NLog LayoutRenderer with a callback function layoutMethod. The callback receives the logEvent.
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterLayoutRenderer(String, FuncLogEventInfo, LoggingConfiguration, Object)Overloaded.
Register a custom NLog LayoutRenderer with a callback function layoutMethod. The callback receives the logEvent and the current configuration.
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterLayoutRenderer(String, FuncLogEventInfo, Object, LayoutRenderOptions)Overloaded.
Register a custom NLog LayoutRenderer with a callback function layoutMethod. The callback receives the logEvent.
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterLayoutRenderer(String, FuncLogEventInfo, LoggingConfiguration, Object, LayoutRenderOptions)Overloaded.
Register a custom NLog LayoutRenderer with a callback function layoutMethod. The callback receives the logEvent and the current configuration.
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterLayoutRendererT(String)Overloaded.
Register a custom NLog LayoutRenderer.
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterLayoutRendererT(FuncT, String)Overloaded.
Register a custom NLog LayoutRenderer.
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterNLogWebOverloaded.
Register the NLog.Web LayoutRenderers
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterNLogWeb(IServiceProvider)Overloaded.
Register the NLog.Web.AspNetCore LayoutRenderers
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterServiceProvider
Register (or replaces) external service-repository for resolving dependency injection
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterSingletonService(Type, Object)Overloaded.
Register (or replaces) singleton-object for the specified service-type
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterSingletonServiceT(T)Overloaded.
Register (or replaces) singleton-object for the specified service-type
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterTarget(String, Type)Overloaded.
Register a custom NLog Target.
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterTargetT(String)Overloaded.
Register a custom NLog Target.
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterTargetT(FuncT, String)Overloaded.
Register a custom NLog Target.
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterTypeT
Register a custom NLog Configuration Type.
(Defined by SetupExtensionsBuilderExtensions.)
Public Extension MethodRegisterWindowsForms
Register the NLog.Windows.Forms extensions before loading NLog config
(Defined by SetupExtensionsBuilderExtensions.)
Top
See Also