Click or drag to resize

AspNetExtensions Class

Helpers for ASP.NET
Inheritance Hierarchy
SystemObject
  NLog.WebAspNetExtensions

Namespace:  NLog.Web
Assembly:  NLog.Web.AspNetCore (in NLog.Web.AspNetCore.dll) Version: 6.0.0+59339f2811712b446adf6dcd8a6bad39ad9f2ba1
Syntax
public static class AspNetExtensions
Methods
  NameDescription
Public methodStatic memberAddNLog(ILoggingBuilder, LoggingConfiguration) Obsolete.
Enable NLog as logging provider for Microsoft Extension Logging, and explicit load NLog LoggingConfiguration
Public methodStatic memberAddNLog(ILoggingBuilder, FuncIServiceProvider, LogFactory) Obsolete.
Enable NLog as logging provider for Microsoft Extension Logging, and provide isolated LogFactory
Public methodStatic memberAddNLog(ILoggingBuilder, String) Obsolete.
Enable NLog as logging provider for Microsoft Extension Logging, and explicit load NLog.config from path
Public methodStatic memberAddNLog(ILoggingBuilder, LoggingConfiguration, NLogAspNetCoreOptions) Obsolete.
Enable NLog as logging provider for Microsoft Extension Logging, and explicit load NLog LoggingConfiguration
Public methodStatic memberAddNLogWeb(ILoggingBuilder)
Enable NLog as logging provider for Microsoft Extension Logging
Public methodStatic memberAddNLogWeb(IServiceCollection)
Enable NLog as logging provider for Microsoft Extension Logging
Public methodStatic memberAddNLogWeb(ILoggingBuilder, LoggingConfiguration)
Enable NLog as logging provider for Microsoft Extension Logging, and explicit load NLog LoggingConfiguration
Public methodStatic memberAddNLogWeb(ILoggingBuilder, NLogAspNetCoreOptions)
Enable NLog as logging provider for Microsoft Extension Logging
Public methodStatic memberAddNLogWeb(ILoggingBuilder, FuncIServiceProvider, LogFactory)
Enable NLog as logging provider for Microsoft Extension Logging, and provide isolated LogFactory
Public methodStatic memberAddNLogWeb(ILoggingBuilder, String)
Enable NLog as logging provider for Microsoft Extension Logging, and explicit load NLog.config from path
Public methodStatic memberAddNLogWeb(IServiceCollection, NLogAspNetCoreOptions)
Enable NLog as logging provider for Microsoft Extension Logging
Public methodStatic memberAddNLogWeb(ILoggingBuilder, LoggingConfiguration, NLogAspNetCoreOptions)
Enable NLog as logging provider for Microsoft Extension Logging, and explicit load NLog LoggingConfiguration
Public methodStatic memberAddNLogWeb(ILoggingBuilder, LogFactory, NLogAspNetCoreOptions)
Enable NLog as logging provider for Microsoft Extension Logging, and provide isolated LogFactory
Public methodStatic memberAddNLogWeb(ILoggingBuilder, NLogAspNetCoreOptions, FuncIServiceProvider, LogFactory)
Enable NLog as logging provider for Microsoft Extension Logging, and provide isolated LogFactory
Public methodStatic memberAddNLogWeb(IServiceCollection, NLogAspNetCoreOptions, FuncIServiceProvider, LogFactory)
Enable NLog as logging provider for Microsoft Extension Logging
Public methodStatic memberUseNLog(IHostBuilder)
Enable NLog as logging provider for Microsoft Extension Logging.
Public methodStatic memberUseNLog(IWebHostBuilder)
Enable NLog as logging provider for Microsoft Extension Logging.
Public methodStatic memberUseNLog(IHostBuilder, NLogAspNetCoreOptions)
Enable NLog as logging provider for Microsoft Extension Logging.
Public methodStatic memberUseNLog(IWebHostBuilder, NLogAspNetCoreOptions)
Enable NLog as logging provider for Microsoft Extension Logging.
Top
See Also