AppBuilderLoggerExtensions.SetLoggerFactory Method (IAppBuilder, ILoggerFactory)
Sets the server.LoggerFactory in the Properties collection.
Namespace: Microsoft.Owin.Logging
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
public static void SetLoggerFactory(
this IAppBuilder app,
ILoggerFactory loggerFactory
)
public:
[ExtensionAttribute]
static void SetLoggerFactory(
IAppBuilder^ app,
ILoggerFactory^ loggerFactory
)
static member SetLoggerFactory :
app:IAppBuilder *
loggerFactory:ILoggerFactory -> unit
<ExtensionAttribute>
Public Shared Sub SetLoggerFactory (
app As IAppBuilder,
loggerFactory As ILoggerFactory
)
Parameters
- app
Type: Owin.IAppBuilder
- loggerFactory
Type: Microsoft.Owin.Logging.ILoggerFactory
See Also
AppBuilderLoggerExtensions Class
Microsoft.Owin.Logging Namespace
Return to top