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: 5.3.13+628b0876960af3ee3454c99b7985dbb5e1c46bf0
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