feat(release): add reproducible signed artifacts (#19)
This commit is contained in:
@@ -8,7 +8,7 @@ using Microsoft.Extensions.Options;
|
||||
|
||||
namespace FinalFactory.Rendezvous.Server.Transport;
|
||||
|
||||
internal sealed partial class UdpMediatorService : BackgroundService
|
||||
internal sealed class UdpMediatorService : BackgroundService
|
||||
{
|
||||
private readonly ILogger<UdpMediatorService> _logger;
|
||||
private readonly UdpMediatorOptions _options;
|
||||
@@ -133,20 +133,23 @@ internal sealed partial class UdpMediatorService : BackgroundService
|
||||
manager?.Stop();
|
||||
}
|
||||
|
||||
[LoggerMessage(
|
||||
EventId = 1,
|
||||
Level = LogLevel.Information,
|
||||
Message = "UDP mediator listening on {ListenAddress}:{ListenPort}")]
|
||||
private static partial void LogMediatorListening(
|
||||
private static readonly Action<ILogger, IPAddress, int, Exception?> MediatorListening =
|
||||
LoggerMessage.Define<IPAddress, int>(
|
||||
LogLevel.Information,
|
||||
new EventId(1, nameof(LogMediatorListening)),
|
||||
"UDP mediator listening on {ListenAddress}:{ListenPort}");
|
||||
|
||||
private static readonly Action<ILogger, Exception?> MediatorStopped = LoggerMessage.Define(
|
||||
LogLevel.Information,
|
||||
new EventId(2, nameof(LogMediatorStopped)),
|
||||
"UDP mediator stopped");
|
||||
|
||||
private static void LogMediatorListening(
|
||||
ILogger logger,
|
||||
IPAddress listenAddress,
|
||||
int listenPort);
|
||||
int listenPort) => MediatorListening(logger, listenAddress, listenPort, null);
|
||||
|
||||
[LoggerMessage(
|
||||
EventId = 2,
|
||||
Level = LogLevel.Information,
|
||||
Message = "UDP mediator stopped")]
|
||||
private static partial void LogMediatorStopped(ILogger logger);
|
||||
private static void LogMediatorStopped(ILogger logger) => MediatorStopped(logger, null);
|
||||
|
||||
private sealed class LiteNetIntroductionSink(NatPunchModule module) : INatIntroductionSink
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user