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.5.0+9fe9421708749962bac8393d7cec5df976518ccb
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