AppBuilderLoggerExtensions.GetLoggerFactory Method (IAppBuilder)


Retrieves the server.LoggerFactory from the Properties collection.

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


public static ILoggerFactory GetLoggerFactory(
    this IAppBuilder app
static ILoggerFactory^ GetLoggerFactory(
    IAppBuilder^ app
static member GetLoggerFactory : 
        app:IAppBuilder -> ILoggerFactory
Public Shared Function GetLoggerFactory (
    app As IAppBuilder
) As ILoggerFactory


  • app
    Type: Owin.IAppBuilder

Return Value

Type: Microsoft.Owin.Logging.ILoggerFactory

Returns ILoggerFactory.

See Also

AppBuilderLoggerExtensions Class
Microsoft.Owin.Logging Namespace

Return to top