ListenOptionsConnectionLoggingExtensions.UseConnectionLogging Method

Definition

Overloads

UseConnectionLogging(ListenOptions)

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

UseConnectionLogging(ListenOptions, String)

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

UseConnectionLogging(ListenOptions)

Source:
ListenOptionsConnectionLoggingExtensions.cs
Source:
ListenOptionsConnectionLoggingExtensions.cs
Source:
ListenOptionsConnectionLoggingExtensions.cs

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

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

Parameters

listenOptions
ListenOptions

Returns

The ListenOptions.

Applies to

UseConnectionLogging(ListenOptions, String)

Source:
ListenOptionsConnectionLoggingExtensions.cs
Source:
ListenOptionsConnectionLoggingExtensions.cs
Source:
ListenOptionsConnectionLoggingExtensions.cs

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

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

Parameters

listenOptions
ListenOptions
loggerName
String

Returns

The ListenOptions.

Applies to