Click or drag to resize

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: 6.0.0+59339f2811712b446adf6dcd8a6bad39ad9f2ba1
Syntax
[ObsoleteAttribute("Use NLog.LogManager.Setup().LoadConfigurationFromAppSettings() instead. Marked obsolete with NLog.Web 5.3")]
public static class NLogBuilder
Methods
  NameDescription
Public methodStatic memberConfigureNLog(LoggingConfiguration) Obsolete.
Configure NLog from API
Public methodStatic memberConfigureNLog(String) Obsolete.
Configure NLog from XML config.
Top
Remarks
It is now recommended to use NLog.LogManager.Setup().LoadConfigurationFromAppSettings()
See Also