Click or drag to resize

ConfigureExtensionsConfigure Method (NLogLoggerProvider, IConfigurationSection)

Factory method for NLogLoggerProvider

Namespace:  NLog.Extensions.Logging
Assembly:  NLog.Extensions.Logging (in NLog.Extensions.Logging.dll) Version: 5.0.1+b127d73a8dd3e88e56cba56e4d025fce612bbc63
Syntax
public static NLogLoggerProvider Configure(
	this NLogLoggerProvider nlogProvider,
	IConfigurationSection configurationSection
)

Parameters

nlogProvider
Type: NLog.Extensions.LoggingNLogLoggerProvider
configurationSection
Type: IConfigurationSection
Microsoft Extension Configuration

Return Value

Type: NLogLoggerProvider

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type NLogLoggerProvider. 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