Click or drag to resize

SetupBuilderExtensions Class

Extension methods to setup LogFactory options
Inheritance Hierarchy
SystemObject
  NLog.WebSetupBuilderExtensions

Namespace:  NLog.Web
Assemblies:   NLog.Web.AspNetCore (in NLog.Web.AspNetCore.dll) Version: 6.0.0+59339f2811712b446adf6dcd8a6bad39ad9f2ba1
  NLog.Web (in NLog.Web.dll) Version: 6.0.0+59339f2811712b446adf6dcd8a6bad39ad9f2ba1
Syntax
public static class SetupBuilderExtensions
Methods
  NameDescription
Public methodStatic memberRegisterNLogWeb(ISetupBuilder)
Register the NLog.Web LayoutRenderers before loading NLog config
Public methodStatic memberRegisterNLogWeb(ISetupBuilder, IConfiguration, IServiceProvider)
Convience method to register aspnet-layoutrenders in NLog.Web as one-liner before loading NLog.config
Top
See Also