| NLogBuilder Class |
Note: This API is now obsolete.
NLog helpers to ensure registration of NLog.Web-extensions before loading NLog-configuration
Inheritance Hierarchy SystemObject
NLog.WebNLogBuilder
Namespace:
NLog.Web
Assembly:
NLog.Web.AspNetCore (in NLog.Web.AspNetCore.dll) Version: 5.3.13+628b0876960af3ee3454c99b7985dbb5e1c46bf0
Syntax [ObsoleteAttribute("Use NLog.LogManager.Setup().LoadConfigurationFromAppSettings() instead. Marked obsolete with NLog.Web 5.3")]
public static class NLogBuilder
<ObsoleteAttribute("Use NLog.LogManager.Setup().LoadConfigurationFromAppSettings() instead. Marked obsolete with NLog.Web 5.3")>
Public NotInheritable Class NLogBuilder
You do not need to declare an instance of a static class in order to access its members.
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ObsoleteAttribute("Use NLog.LogManager.Setup().LoadConfigurationFromAppSettings() instead. Marked obsolete with NLog.Web 5.3")>]
type NLogBuilder = class end
Methods Remarks
It is now recommended to use NLog.LogManager.Setup().LoadConfigurationFromAppSettings()
See Also