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)

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

Parameters

listenOptions
ListenOptions

Returns

UseConnectionLogging(ListenOptions, String)

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);
static member UseConnectionLogging : Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions * string -> Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions

Parameters

listenOptions
ListenOptions
loggerName
String

Returns

Applies to