Respect LogTopicRequests here

This commit is contained in:
Jordan Dominion
2024-07-12 14:49:25 -04:00
parent 73bbf00136
commit ff9c5c241a
@@ -7,6 +7,7 @@ using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using Newtonsoft.Json;
@@ -942,7 +943,9 @@ namespace Tgstation.Server.Host.Components.Session
using (await TopicSendSemaphore.Lock(cancellationToken))
byondResponse = await byondTopicSender.SendWithOptionalPriority(
asyncDelayer,
Logger,
LogTopicRequests
? Logger
: NullLogger.Instance,
queryString,
targetPort,
priority,