Share via


ListenOptionsConnectionLoggingExtensions.UseConnectionLogging Metode

Definisi

Overload

UseConnectionLogging(ListenOptions)

Memancarkan log verbose untuk byte yang dibaca dari dan ditulis ke koneksi.

UseConnectionLogging(ListenOptions, String)

Memancarkan log verbose untuk byte yang dibaca dari dan ditulis ke koneksi.

UseConnectionLogging(ListenOptions)

Sumber:
ListenOptionsConnectionLoggingExtensions.cs
Sumber:
ListenOptionsConnectionLoggingExtensions.cs

Memancarkan log verbose untuk byte yang dibaca dari dan ditulis ke koneksi.

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

Parameter

listenOptions
ListenOptions

Mengembalikan

ListenOptions.

Berlaku untuk

UseConnectionLogging(ListenOptions, String)

Sumber:
ListenOptionsConnectionLoggingExtensions.cs
Sumber:
ListenOptionsConnectionLoggingExtensions.cs

Memancarkan log verbose untuk byte yang dibaca dari dan ditulis ke koneksi.

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

Parameter

listenOptions
ListenOptions
loggerName
String

Mengembalikan

ListenOptions.

Berlaku untuk