 | NLogProviderOptionsReplaceLoggerFactory Property |
Replace Microsoft LoggerFactory with a pure NLogLoggerFactory, and disables Microsoft Filter Logic and removes other LoggingProviders.
Namespace:
NLog.Extensions.Logging
Assembly:
NLog.Extensions.Logging (in NLog.Extensions.Logging.dll) Version: 6.0.0+b2556d03163fe4c7b4484f0ca757e7ee6f8c5e4e
Syntaxpublic bool ReplaceLoggerFactory { get; set; }
Public Property ReplaceLoggerFactory As Boolean
Get
Set
Dim instance As NLogProviderOptions
Dim value As Boolean
value = instance.ReplaceLoggerFactory
instance.ReplaceLoggerFactory = value
member ReplaceLoggerFactory : bool with get, set
Property Value
Type:
Boolean
See Also