Sdílet prostřednictvím


OwinAppBuilder.ConfigureLogger(IAppBuilder, HttpConfiguration) Metoda

Definice

Přidá (volitelné) protokolování do kanálu aplikace OWIN. Objekt Microsoft.Owin.Logging.ILoggerFactory lze zaregistrovat pomocí modulu injektáže závislostí.

protected internal virtual void ConfigureLogger (Owin.IAppBuilder appBuilder, System.Web.Http.HttpConfiguration config);
abstract member ConfigureLogger : Owin.IAppBuilder * System.Web.Http.HttpConfiguration -> unit
override this.ConfigureLogger : Owin.IAppBuilder * System.Web.Http.HttpConfiguration -> unit
Protected Friend Overridable Sub ConfigureLogger (appBuilder As IAppBuilder, config As HttpConfiguration)

Parametry

appBuilder
Owin.IAppBuilder

Konfigurace Owin.IAppBuilder .

config
System.Web.Http.HttpConfiguration

Aktuální System.Web.Http.HttpConfigurationhodnota .

Platí pro