Compartilhar via


ListenOptionsConnectionLoggingExtensions.UseConnectionLogging Método

Definição

Sobrecargas

UseConnectionLogging(ListenOptions)

Emite logs detalhados para bytes lidos e gravados na conexão.

UseConnectionLogging(ListenOptions, String)

Emite logs detalhados para bytes lidos e gravados na conexão.

UseConnectionLogging(ListenOptions)

Origem:
ListenOptionsConnectionLoggingExtensions.cs
Origem:
ListenOptionsConnectionLoggingExtensions.cs
Origem:
ListenOptionsConnectionLoggingExtensions.cs

Emite logs detalhados para bytes lidos e gravados na conexão.

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

Parâmetros

listenOptions
ListenOptions

Retornos

O ListenOptions.

Aplica-se a

UseConnectionLogging(ListenOptions, String)

Origem:
ListenOptionsConnectionLoggingExtensions.cs
Origem:
ListenOptionsConnectionLoggingExtensions.cs
Origem:
ListenOptionsConnectionLoggingExtensions.cs

Emite logs detalhados para bytes lidos e gravados na conexão.

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

Parâmetros

listenOptions
ListenOptions
loggerName
String

Retornos

O ListenOptions.

Aplica-se a