KestrelServerOptionsConnectionLoggingExtensions.UseConnectionLogging Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
UseConnectionLogging(KestrelServerOptions) |
Memancarkan log verbose untuk byte yang dibaca dari dan ditulis ke koneksi. |
UseConnectionLogging(KestrelServerOptions, String) |
Memancarkan log verbose untuk byte yang dibaca dari dan ditulis ke koneksi. |
UseConnectionLogging(KestrelServerOptions)
Memancarkan log verbose untuk byte yang dibaca dari dan ditulis ke koneksi.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Server::Kestrel::KestrelServerOptions ^ UseConnectionLogging(Microsoft::AspNetCore::Server::Kestrel::KestrelServerOptions ^ options);
public static Microsoft.AspNetCore.Server.Kestrel.KestrelServerOptions UseConnectionLogging (this Microsoft.AspNetCore.Server.Kestrel.KestrelServerOptions options);
static member UseConnectionLogging : Microsoft.AspNetCore.Server.Kestrel.KestrelServerOptions -> Microsoft.AspNetCore.Server.Kestrel.KestrelServerOptions
<Extension()>
Public Function UseConnectionLogging (options As KestrelServerOptions) As KestrelServerOptions
Parameter
- options
- KestrelServerOptions
Mengembalikan
The Microsoft.AspNetCore.Server.KestrelServerOptions.
Berlaku untuk
UseConnectionLogging(KestrelServerOptions, String)
Memancarkan log verbose untuk byte yang dibaca dari dan ditulis ke koneksi.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Server::Kestrel::KestrelServerOptions ^ UseConnectionLogging(Microsoft::AspNetCore::Server::Kestrel::KestrelServerOptions ^ options, System::String ^ loggerName);
public static Microsoft.AspNetCore.Server.Kestrel.KestrelServerOptions UseConnectionLogging (this Microsoft.AspNetCore.Server.Kestrel.KestrelServerOptions options, string loggerName);
static member UseConnectionLogging : Microsoft.AspNetCore.Server.Kestrel.KestrelServerOptions * string -> Microsoft.AspNetCore.Server.Kestrel.KestrelServerOptions
<Extension()>
Public Function UseConnectionLogging (options As KestrelServerOptions, loggerName As String) As KestrelServerOptions
Parameter
- options
- KestrelServerOptions
- loggerName
- String
Mengembalikan
The Microsoft.AspNetCore.Server.KestrelServerOptions.
Berlaku untuk
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk