ListenOptionsConnectionLoggingExtensions.UseConnectionLogging 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
UseConnectionLogging(ListenOptions) |
发出从连接读取和写入连接的字节的详细日志。 |
UseConnectionLogging(ListenOptions, String) |
发出从连接读取和写入连接的字节的详细日志。 |
UseConnectionLogging(ListenOptions)
发出从连接读取和写入连接的字节的详细日志。
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
参数
- listenOptions
- ListenOptions
返回
适用于
UseConnectionLogging(ListenOptions, String)
发出从连接读取和写入连接的字节的详细日志。
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
参数
- listenOptions
- ListenOptions
- loggerName
- String