| SetupLoadConfigurationExtensionsWriteToNil Method |
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public static void WriteToNil(
this ISetupConfigurationLoggingRuleBuilder configBuilder,
LogLevel finalMinLevel = null
)
<ExtensionAttribute>
Public Shared Sub WriteToNil (
configBuilder As ISetupConfigurationLoggingRuleBuilder,
Optional finalMinLevel As LogLevel = Nothing
)
Dim configBuilder As ISetupConfigurationLoggingRuleBuilder
Dim finalMinLevel As LogLevel
configBuilder.WriteToNil(finalMinLevel)
[<ExtensionAttribute>]
static member WriteToNil :
configBuilder : ISetupConfigurationLoggingRuleBuilder *
?finalMinLevel : LogLevel
(* Defaults:
let _finalMinLevel = defaultArg finalMinLevel null
*)
-> unit
Parameters
- configBuilder
- Type: NLog.ConfigISetupConfigurationLoggingRuleBuilder
Fluent interface parameter. - finalMinLevel (Optional)
- Type: NLogLogLevel
Only discard output from matching Logger when below minimum LogLevel
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ISetupConfigurationLoggingRuleBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also