AppBuilderLoggerExtensions.GetLoggerFactory Method (IAppBuilder)
Retrieves the server.LoggerFactory from the Properties collection.
Namespace: Microsoft.Owin.Logging
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
public static ILoggerFactory GetLoggerFactory(
this IAppBuilder app
)
public:
[ExtensionAttribute]
static ILoggerFactory^ GetLoggerFactory(
IAppBuilder^ app
)
static member GetLoggerFactory :
app:IAppBuilder -> ILoggerFactory
<ExtensionAttribute>
Public Shared Function GetLoggerFactory (
app As IAppBuilder
) As ILoggerFactory
Parameters
- app
Type: Owin.IAppBuilder
Return Value
Type: Microsoft.Owin.Logging.ILoggerFactory
Returns ILoggerFactory.
See Also
AppBuilderLoggerExtensions Class
Microsoft.Owin.Logging Namespace
Return to top