Click or drag to resize

NLogRequestLoggingOptionsShouldLogRequest Property

Mapper from HttpContext status to LogLevel

Namespace:  NLog.Web
Assembly:  NLog.Web.AspNetCore (in NLog.Web.AspNetCore.dll) Version: 5.3.13+628b0876960af3ee3454c99b7985dbb5e1c46bf0
Syntax
public Func<HttpContext, Exception, LogLevel> ShouldLogRequest { get; set; }

Property Value

Type: FuncHttpContext, Exception, LogLevel
See Also