ListenOptionsConnectionLoggingExtensions.UseConnectionLogging Metoda

Definice

Přetížení

UseConnectionLogging(ListenOptions)

Generuje podrobné protokoly pro bajty přečtené a zapsané do připojení.

UseConnectionLogging(ListenOptions, String)

Generuje podrobné protokoly pro bajty přečtené a zapsané do připojení.

UseConnectionLogging(ListenOptions)

Generuje podrobné protokoly pro bajty přečtené a zapsané do připojení.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ UseConnectionLogging(Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ listenOptions);
public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseConnectionLogging (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions);
static member UseConnectionLogging : Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions -> Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions
<Extension()>
Public Function UseConnectionLogging (listenOptions As ListenOptions) As ListenOptions

Parametry

listenOptions
ListenOptions

Návraty

Hodnota ListenOptions

Platí pro

UseConnectionLogging(ListenOptions, String)

Generuje podrobné protokoly pro bajty přečtené a zapsané do připojení.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ UseConnectionLogging(Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ listenOptions, System::String ^ loggerName);
public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseConnectionLogging (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions, string loggerName);
public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseConnectionLogging (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions, string? loggerName);
static member UseConnectionLogging : Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions * string -> Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions
<Extension()>
Public Function UseConnectionLogging (listenOptions As ListenOptions, loggerName As String) As ListenOptions

Parametry

listenOptions
ListenOptions
loggerName
String

Návraty

Hodnota ListenOptions

Platí pro