Click or drag to resize

ISetupBuilder Methods

The ISetupBuilder type exposes the following members.

Extension Methods
  NameDescription
Public Extension MethodGetCurrentClassLogger
Gets the logger with the full name of the current class, so namespace and class name.
(Defined by SetupBuilderExtensions.)
Public Extension MethodGetLogger
Gets the specified named logger.
(Defined by SetupBuilderExtensions.)
Public Extension MethodLoadConfiguration(ActionISetupLoadConfigurationBuilder)Overloaded.
Loads NLog config created by the method configBuilder
(Defined by SetupBuilderExtensions.)
Public Extension MethodLoadConfiguration(LoggingConfiguration)Overloaded.
Loads NLog config provided in loggingConfiguration
(Defined by SetupBuilderExtensions.)
Public Extension MethodLoadConfigurationFromAssemblyResource
Loads NLog config located in embedded resource from main application assembly.
(Defined by SetupBuilderExtensions.)
Public Extension MethodLoadConfigurationFromFile(IEnumerableString, Boolean)Overloaded.
Loads NLog config from file-paths candidateFilePaths if provided, else fallback to scanning for NLog.config
(Defined by SetupBuilderExtensions.)
Public Extension MethodLoadConfigurationFromFile(String, Boolean)Overloaded.
Loads NLog config from filename configFile if provided, else fallback to scanning for NLog.config
(Defined by SetupBuilderExtensions.)
Public Extension MethodLoadConfigurationFromXml
Loads NLog config from XML in configXml
(Defined by SetupBuilderExtensions.)
Public Extension MethodRegisterNLogWebOverloaded.
Register the NLog.Web LayoutRenderers before loading NLog config
(Defined by SetupBuilderExtensions.)
Public Extension MethodRegisterNLogWeb(IConfiguration, IServiceProvider)Overloaded.
Convience method to register aspnet-layoutrenders in NLog.Web as one-liner before loading NLog.config
(Defined by SetupBuilderExtensions.)
Public Extension MethodRegisterWindowsForms
Register the NLog.Windows.Forms extensions before loading NLog config
(Defined by SetupBuilderExtensions.)
Public Extension MethodReloadConfiguration
Reloads the current logging configuration and activates it
(Defined by SetupBuilderExtensions.)
Public Extension MethodSetupExtensions
Configures loading of NLog extensions for Targets and LayoutRenderers
(Defined by SetupBuilderExtensions.)
Public Extension MethodSetupInternalLogger
Configures the output of NLog InternalLogger for diagnostics / troubleshooting
(Defined by SetupBuilderExtensions.)
Public Extension MethodSetupLogFactory
Configures general options for NLog LogFactory before loading NLog config
(Defined by SetupBuilderExtensions.)
Public Extension MethodSetupSerialization
Configures serialization and transformation of LogEvents
(Defined by SetupBuilderExtensions.)
Top
See Also