SetupExtensionsBuilderExtensions Class |
Namespace: NLog
The SetupExtensionsBuilderExtensions type exposes the following members.
Name | Description | |
---|---|---|
AutoLoadExtensions |
Enable/disables autoloading of NLog extensions by scanning and loading available assemblies
| |
RegisterAssembly(ISetupExtensionsBuilder, Assembly) |
Registers NLog extensions from the assembly.
| |
RegisterAssembly(ISetupExtensionsBuilder, String) |
Registers NLog extensions from the assembly type name
| |
RegisterConditionMethod(ISetupExtensionsBuilder, String, FuncLogEventInfo, Object) |
Register a custom condition method, that can use in condition filters
| |
RegisterConditionMethod(ISetupExtensionsBuilder, String, FuncObject) |
Register a custom condition method, that can use in condition filters
| |
RegisterLayout(ISetupExtensionsBuilder, String, Type) |
Register a custom NLog Layout.
| |
RegisterLayoutT(ISetupExtensionsBuilder, String) |
Register a custom NLog Layout.
| |
RegisterLayoutT(ISetupExtensionsBuilder, FuncT, String) |
Register a custom NLog Layout.
| |
RegisterLayoutRenderer(ISetupExtensionsBuilder, FuncLayoutRenderer) |
Register a custom NLog LayoutRenderer with a callback function
| |
RegisterLayoutRenderer(ISetupExtensionsBuilder, String, FuncLogEventInfo, LoggingConfiguration, Object) |
Register a custom NLog LayoutRenderer with a callback function layoutMethod. The callback receives the logEvent and the current configuration.
| |
RegisterLayoutRenderer(ISetupExtensionsBuilder, String, FuncLogEventInfo, Object) |
Register a custom NLog LayoutRenderer with a callback function layoutMethod. The callback receives the logEvent.
| |
RegisterLayoutRenderer(ISetupExtensionsBuilder, String, Type) |
Register a custom NLog LayoutRenderer.
| |
RegisterLayoutRenderer(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.
| |
RegisterLayoutRenderer(ISetupExtensionsBuilder, String, FuncLogEventInfo, Object, LayoutRenderOptions) |
Register a custom NLog LayoutRenderer with a callback function layoutMethod. The callback receives the logEvent.
| |
RegisterLayoutRendererT(ISetupExtensionsBuilder, String) |
Register a custom NLog LayoutRenderer.
| |
RegisterLayoutRendererT(ISetupExtensionsBuilder, FuncT, String) |
Register a custom NLog LayoutRenderer.
| |
RegisterServiceProvider |
Register (or replaces) external service-repository for resolving dependency injection
| |
RegisterSingletonService(ISetupExtensionsBuilder, Type, Object) |
Register (or replaces) singleton-object for the specified service-type
| |
RegisterSingletonServiceT(ISetupExtensionsBuilder, T) |
Register (or replaces) singleton-object for the specified service-type
| |
RegisterTarget(ISetupExtensionsBuilder, String, Type) |
Register a custom NLog Target.
| |
RegisterTargetT(ISetupExtensionsBuilder, String) |
Register a custom NLog Target.
| |
RegisterTargetT(ISetupExtensionsBuilder, FuncT, String) |
Register a custom NLog Target.
| |
RegisterTypeT |
Register a custom NLog Configuration Type.
| |
RegisterWindowsForms |
Register the NLog.Windows.Forms extensions before loading NLog config
|