KestrelServerOptionsConnectionLoggingExtensions.UseConnectionLogging KestrelServerOptionsConnectionLoggingExtensions.UseConnectionLogging KestrelServerOptionsConnectionLoggingExtensions.UseConnectionLogging Method

Definition

Overloads

UseConnectionLogging(KestrelServerOptions) UseConnectionLogging(KestrelServerOptions) UseConnectionLogging(KestrelServerOptions)

Emits verbose logs for bytes read from and written to the connection.

UseConnectionLogging(KestrelServerOptions, String) UseConnectionLogging(KestrelServerOptions, String) UseConnectionLogging(KestrelServerOptions, String)

Emits verbose logs for bytes read from and written to the connection.

UseConnectionLogging(KestrelServerOptions) UseConnectionLogging(KestrelServerOptions) UseConnectionLogging(KestrelServerOptions)

Emits verbose logs for bytes read from and written to the connection.

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

Returns

The Microsoft.AspNetCore.Server.KestrelServerOptions.

UseConnectionLogging(KestrelServerOptions, String) UseConnectionLogging(KestrelServerOptions, String) UseConnectionLogging(KestrelServerOptions, String)

Emits verbose logs for bytes read from and written to the connection.

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

loggerName
String String String

Returns

The Microsoft.AspNetCore.Server.KestrelServerOptions.

Applies to