Click or drag to resize

NlogFactoryExtensionsUseNLog Method (IAppBuilder)

Set the logger factory for this app builder to NLogFactory

Namespace:  NLog.Owin.Logging
Assembly:  NLog.Owin.Logging (in NLog.Owin.Logging.dll) Version: 4.0+fa964b487a009a302dffab9a322d07bcc66aee9c
Syntax
public static IAppBuilder UseNLog(
	this IAppBuilder app
)

Parameters

app
Type: IAppBuilder

Return Value

Type: IAppBuilder

Usage Note

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