AppBuilderLoggerExtensions.SetLoggerFactory Method (IAppBuilder, ILoggerFactory)


Sets the server.LoggerFactory in the Properties collection.

Namespace:   Microsoft.Owin.Logging
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)


public static void SetLoggerFactory(
    this IAppBuilder app,
    ILoggerFactory loggerFactory
static void SetLoggerFactory(
    IAppBuilder^ app,
    ILoggerFactory^ loggerFactory
static member SetLoggerFactory : 
        app:IAppBuilder *
        loggerFactory:ILoggerFactory -> unit
Public Shared Sub SetLoggerFactory (
    app As IAppBuilder,
    loggerFactory As ILoggerFactory


  • app
    Type: Owin.IAppBuilder

See Also

AppBuilderLoggerExtensions Class
Microsoft.Owin.Logging Namespace

Return to top