AspNetExtensions Methods |
The AspNetExtensions type exposes the following members.
Name | Description | |
---|---|---|
AddNLog(ILoggingBuilder, LoggingConfiguration) |
Enable NLog as logging provider for Microsoft Extension Logging, and explicit load NLog LoggingConfiguration
| |
AddNLog(ILoggingBuilder, FuncIServiceProvider, LogFactory) |
Enable NLog as logging provider for Microsoft Extension Logging, and provide isolated LogFactory
| |
AddNLog(ILoggingBuilder, String) |
Enable NLog as logging provider for Microsoft Extension Logging, and explicit load NLog.config from path
| |
AddNLog(ILoggingBuilder, LoggingConfiguration, NLogAspNetCoreOptions) |
Enable NLog as logging provider for Microsoft Extension Logging, and explicit load NLog LoggingConfiguration
| |
AddNLogWeb(IApplicationBuilder) | Obsolete.
Enable NLog Web for ASP.NET Core.
| |
AddNLogWeb(ILoggingBuilder) |
Enable NLog as logging provider for Microsoft Extension Logging
| |
AddNLogWeb(ILoggingBuilder, LoggingConfiguration) |
Enable NLog as logging provider for Microsoft Extension Logging, and explicit load NLog LoggingConfiguration
| |
AddNLogWeb(ILoggingBuilder, NLogAspNetCoreOptions) |
Enable NLog as logging provider for Microsoft Extension Logging
| |
AddNLogWeb(ILoggingBuilder, FuncIServiceProvider, LogFactory) |
Enable NLog as logging provider for Microsoft Extension Logging, and provide isolated LogFactory
| |
AddNLogWeb(ILoggingBuilder, String) |
Enable NLog as logging provider for Microsoft Extension Logging, and explicit load NLog.config from path
| |
AddNLogWeb(ILoggingBuilder, LoggingConfiguration, NLogAspNetCoreOptions) |
Enable NLog as logging provider for Microsoft Extension Logging, and explicit load NLog LoggingConfiguration
| |
AddNLogWeb(ILoggingBuilder, LogFactory, NLogAspNetCoreOptions) |
Enable NLog as logging provider for Microsoft Extension Logging, and provide isolated LogFactory
| |
AddNLogWeb(ILoggingBuilder, NLogAspNetCoreOptions, FuncIServiceProvider, LogFactory) |
Enable NLog as logging provider for Microsoft Extension Logging, and provide isolated LogFactory
| |
ConfigureNLog(IHostingEnvironment, String) | Obsolete.
Apply NLog configuration from XML config.
| |
ConfigureNLog(ILoggingBuilder, LoggingConfiguration) | Obsolete.
Configure NLog from API
This call is not needed when ConfigureNLog(LoggingConfiguration) is used.
| |
ConfigureNLog(ILoggingBuilder, String) | Obsolete.
Apply NLog configuration from XML config.
This call is not needed when ConfigureNLog(String) is used.
| |
SetupNLogServiceLocator | Obsolete.
Override the default IServiceProvider used by the NLog ServiceLocator.
NLog ServiceLocator uses the IServiceProvider to access context specific services (Ex. IHttpContextAccessor)
| |
UseNLog(IHostBuilder) |
Enable NLog as logging provider for Microsoft Extension Logging.
| |
UseNLog(IWebHostBuilder) |
Enable NLog as logging provider for Microsoft Extension Logging.
| |
UseNLog(IHostBuilder, NLogAspNetCoreOptions) |
Enable NLog as logging provider for Microsoft Extension Logging.
| |
UseNLog(IWebHostBuilder, NLogAspNetCoreOptions) |
Enable NLog as logging provider for Microsoft Extension Logging.
|