 | SetupBuilderExtensionsReloadConfiguration Method |
Reloads the current logging configuration and activates it
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic static ISetupBuilder ReloadConfiguration(
this ISetupBuilder setupBuilder
)
<ExtensionAttribute>
Public Shared Function ReloadConfiguration (
setupBuilder As ISetupBuilder
) As ISetupBuilder
Dim setupBuilder As ISetupBuilder
Dim returnValue As ISetupBuilder
returnValue = setupBuilder.ReloadConfiguration()
[<ExtensionAttribute>]
static member ReloadConfiguration :
setupBuilder : ISetupBuilder -> ISetupBuilder
Parameters
- setupBuilder
- Type: NLog.ConfigISetupBuilder
Return Value
Type:
ISetupBuilderUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ISetupBuilder. 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).
RemarksLogevents produced during the configuration-reload can become lost, as targets are unavailable while closing and initializing.
See Also