Click or drag to resize

NLogProviderOptionsReplaceLoggerFactory Property

Replace Microsoft LoggerFactory with a pure NLogLoggerFactory, and disables Microsoft Filter Logic and removes other LoggingProviders. Can be used as an alternative to calling ILoggingBuilder.ClearProviders(), when only wanting NLog target output.

Namespace:  NLog.Extensions.Logging
Assembly:  NLog.Extensions.Logging (in NLog.Extensions.Logging.dll) Version: 6.2.1+ba78edbf68715fffcec1bcbb665118fbc55e67c2
Syntax
public bool ReplaceLoggerFactory { get; set; }

Property Value

Type: Boolean
Remarks
Default:
See Also