KestrelServerOptionsConnectionLoggingExtensions.UseConnectionLogging Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
UseConnectionLogging(KestrelServerOptions) |
Emits verbose logs for bytes read from and written to the connection. |
UseConnectionLogging(KestrelServerOptions, String) |
Emits verbose logs for bytes read from and written to the connection. |
UseConnectionLogging(KestrelServerOptions)
Emits verbose logs for bytes read from and written to the connection.
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
Parameters
- options
- KestrelServerOptions
Returns
The Microsoft.AspNetCore.Server.KestrelServerOptions.
Applies to
UseConnectionLogging(KestrelServerOptions, String)
Emits verbose logs for bytes read from and written to the connection.
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
Parameters
- options
- KestrelServerOptions
- loggerName
- String
Returns
The Microsoft.AspNetCore.Server.KestrelServerOptions.