/// <summary> /// Emits verbose logs for bytes read from and written to the connection. /// </summary> /// <returns> /// The Microsoft.AspNetCore.Server.KestrelServerOptions. /// </returns> public static KestrelServerOptions UseConnectionLogging(this KestrelServerOptions options) { return(options.UseConnectionLogging(nameof(LoggingConnectionFilter))); }