Condividi tramite


ListenOptionsConnectionLoggingExtensions.UseConnectionLogging Metodo

Definizione

Overload

UseConnectionLogging(ListenOptions)

Genera log dettagliati per i byte letti da e scritti nella connessione.

UseConnectionLogging(ListenOptions, String)

Genera log dettagliati per i byte letti da e scritti nella connessione.

UseConnectionLogging(ListenOptions)

Origine:
ListenOptionsConnectionLoggingExtensions.cs
Origine:
ListenOptionsConnectionLoggingExtensions.cs
Origine:
ListenOptionsConnectionLoggingExtensions.cs

Genera log dettagliati per i byte letti da e scritti nella connessione.

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

Parametri

listenOptions
ListenOptions

Restituisce

Oggetto ListenOptions.

Si applica a

UseConnectionLogging(ListenOptions, String)

Origine:
ListenOptionsConnectionLoggingExtensions.cs
Origine:
ListenOptionsConnectionLoggingExtensions.cs
Origine:
ListenOptionsConnectionLoggingExtensions.cs

Genera log dettagliati per i byte letti da e scritti nella connessione.

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

Parametri

listenOptions
ListenOptions
loggerName
String

Restituisce

Oggetto ListenOptions.

Si applica a