ISetupBuilder Interface |
Namespace: NLog.Config
The ISetupBuilder type exposes the following members.
Name | Description | |
---|---|---|
LogFactory |
LogFactory under configuration
|
Name | Description | |
---|---|---|
GetCurrentClassLogger |
Gets the logger with the full name of the current class, so namespace and class name.
(Defined by SetupBuilderExtensions.) | |
GetLogger |
Gets the specified named logger.
(Defined by SetupBuilderExtensions.) | |
LoadConfiguration(ActionISetupLoadConfigurationBuilder) | Overloaded.
Loads NLog config created by the method configBuilder (Defined by SetupBuilderExtensions.) | |
LoadConfiguration(LoggingConfiguration) | Overloaded.
Loads NLog config provided in loggingConfiguration (Defined by SetupBuilderExtensions.) | |
LoadConfigurationFromAssemblyResource |
Loads NLog config located in embedded resource from main application assembly.
(Defined by SetupBuilderExtensions.) | |
LoadConfigurationFromFile(IEnumerableString, Boolean) | Overloaded.
Loads NLog config from file-paths candidateFilePaths if provided, else fallback to scanning for NLog.config
(Defined by SetupBuilderExtensions.) | |
LoadConfigurationFromFile(String, Boolean) | Overloaded.
Loads NLog config from filename configFile if provided, else fallback to scanning for NLog.config
(Defined by SetupBuilderExtensions.) | |
LoadConfigurationFromXml |
Loads NLog config from XML in configXml (Defined by SetupBuilderExtensions.) | |
RegisterNLogWeb | Overloaded.
Register the NLog.Web LayoutRenderers before loading NLog config
(Defined by SetupBuilderExtensions.) | |
RegisterNLogWeb(IConfiguration, IServiceProvider) | Overloaded.
Convience method to register aspnet-layoutrenders in NLog.Web as one-liner before loading NLog.config
(Defined by SetupBuilderExtensions.) | |
RegisterWindowsForms |
Register the NLog.Windows.Forms extensions before loading NLog config
(Defined by SetupBuilderExtensions.) | |
ReloadConfiguration |
Reloads the current logging configuration and activates it
(Defined by SetupBuilderExtensions.) | |
SetupExtensions |
Configures loading of NLog extensions for Targets and LayoutRenderers
(Defined by SetupBuilderExtensions.) | |
SetupInternalLogger |
Configures the output of NLog InternalLogger for diagnostics / troubleshooting
(Defined by SetupBuilderExtensions.) | |
SetupLogFactory |
Configures general options for NLog LogFactory before loading NLog config
(Defined by SetupBuilderExtensions.) | |
SetupSerialization |
Configures serialization and transformation of LogEvents
(Defined by SetupBuilderExtensions.) |