Click or drag to resize

SetupExtensionsBuilderExtensions Methods

The SetupExtensionsBuilderExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAutoLoadExtensions
Enable/disables autoloading of NLog extensions by scanning and loading available assemblies
Public methodStatic memberRegisterAssembly(ISetupExtensionsBuilder, Assembly)
Registers NLog extensions from the assembly.
Public methodStatic memberRegisterAssembly(ISetupExtensionsBuilder, String)
Registers NLog extensions from the assembly type name
Public methodStatic memberRegisterConditionMethod(ISetupExtensionsBuilder, String, FuncLogEventInfo, Object)
Register a custom condition method, that can use in condition filters
Public methodStatic memberRegisterConditionMethod(ISetupExtensionsBuilder, String, FuncObject)
Register a custom condition method, that can use in condition filters
Public methodStatic memberRegisterLayout(ISetupExtensionsBuilder, String, Type)
Register a custom NLog Layout.
Public methodStatic memberRegisterLayoutT(ISetupExtensionsBuilder, String)
Register a custom NLog Layout.
Public methodStatic memberRegisterLayoutT(ISetupExtensionsBuilder, FuncT, String)
Register a custom NLog Layout.
Public methodStatic memberRegisterLayoutRenderer(ISetupExtensionsBuilder, FuncLayoutRenderer)
Register a custom NLog LayoutRenderer with a callback function
Public methodStatic memberRegisterLayoutRenderer(ISetupExtensionsBuilder, String, FuncLogEventInfo, LoggingConfiguration, Object)
Register a custom NLog LayoutRenderer with a callback function layoutMethod. The callback receives the logEvent and the current configuration.
Public methodStatic memberRegisterLayoutRenderer(ISetupExtensionsBuilder, String, FuncLogEventInfo, Object)
Register a custom NLog LayoutRenderer with a callback function layoutMethod. The callback receives the logEvent.
Public methodStatic memberRegisterLayoutRenderer(ISetupExtensionsBuilder, String, Type)
Register a custom NLog LayoutRenderer.
Public methodStatic memberRegisterLayoutRenderer(ISetupExtensionsBuilder, String, FuncLogEventInfo, LoggingConfiguration, Object, LayoutRenderOptions)
Register a custom NLog LayoutRenderer with a callback function layoutMethod. The callback receives the logEvent and the current configuration.
Public methodStatic memberRegisterLayoutRenderer(ISetupExtensionsBuilder, String, FuncLogEventInfo, Object, LayoutRenderOptions)
Register a custom NLog LayoutRenderer with a callback function layoutMethod. The callback receives the logEvent.
Public methodStatic memberRegisterLayoutRendererT(ISetupExtensionsBuilder, String)
Register a custom NLog LayoutRenderer.
Public methodStatic memberRegisterLayoutRendererT(ISetupExtensionsBuilder, FuncT, String)
Register a custom NLog LayoutRenderer.
Public methodStatic memberRegisterServiceProvider
Register (or replaces) external service-repository for resolving dependency injection
Public methodStatic memberRegisterSingletonService(ISetupExtensionsBuilder, Type, Object)
Register (or replaces) singleton-object for the specified service-type
Public methodStatic memberRegisterSingletonServiceT(ISetupExtensionsBuilder, T)
Register (or replaces) singleton-object for the specified service-type
Public methodStatic memberRegisterTarget(ISetupExtensionsBuilder, String, Type)
Register a custom NLog Target.
Public methodStatic memberRegisterTargetT(ISetupExtensionsBuilder, String)
Register a custom NLog Target.
Public methodStatic memberRegisterTargetT(ISetupExtensionsBuilder, FuncT, String)
Register a custom NLog Target.
Public methodStatic memberRegisterTypeT
Register a custom NLog Configuration Type.
Public methodStatic memberRegisterWindowsForms
Register the NLog.Windows.Forms extensions before loading NLog config
Top
See Also