From 51fe2d14df178d01e3326d45d78f2ed55f19b5fb Mon Sep 17 00:00:00 2001 From: Khalil Date: Fri, 19 Jul 2024 17:19:20 +0100 Subject: [PATCH 1/2] Updated AWS SDK CloudWatchLogs package to 3.7.1 #140 3.7.1 is the lowest mapped version that works with AWSSDK.Core --- .../PeriodicBatchingSinkImplementationCallback.cs | 1 + .../Serilog.Sinks.AwsCloudWatch.csproj | 4 ++-- .../PeriodicBatchedSinkImplementationCallbackTests.cs | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Serilog.Sinks.AwsCloudWatch/PeriodicBatchingSinkImplementationCallback.cs b/src/Serilog.Sinks.AwsCloudWatch/PeriodicBatchingSinkImplementationCallback.cs index 014f261..caa05d2 100644 --- a/src/Serilog.Sinks.AwsCloudWatch/PeriodicBatchingSinkImplementationCallback.cs +++ b/src/Serilog.Sinks.AwsCloudWatch/PeriodicBatchingSinkImplementationCallback.cs @@ -10,6 +10,7 @@ using Serilog.Events; using Serilog.Formatting; using Serilog.Sinks.PeriodicBatching; +using LogEvent = Serilog.Events.LogEvent; namespace Serilog.Sinks.AwsCloudWatch { diff --git a/src/Serilog.Sinks.AwsCloudWatch/Serilog.Sinks.AwsCloudWatch.csproj b/src/Serilog.Sinks.AwsCloudWatch/Serilog.Sinks.AwsCloudWatch.csproj index f5b5fae..9a8ead6 100644 --- a/src/Serilog.Sinks.AwsCloudWatch/Serilog.Sinks.AwsCloudWatch.csproj +++ b/src/Serilog.Sinks.AwsCloudWatch/Serilog.Sinks.AwsCloudWatch.csproj @@ -1,4 +1,4 @@ - + A Serilog sink that logs to AWS CloudWatch AWS Cloud Watch Serilog Sink @@ -28,7 +28,7 @@ - + diff --git a/test/Serilog.Sinks.AwsCloudWatch.Tests/PeriodicBatchedSinkImplementationCallbackTests.cs b/test/Serilog.Sinks.AwsCloudWatch.Tests/PeriodicBatchedSinkImplementationCallbackTests.cs index cd13d19..73cb583 100644 --- a/test/Serilog.Sinks.AwsCloudWatch.Tests/PeriodicBatchedSinkImplementationCallbackTests.cs +++ b/test/Serilog.Sinks.AwsCloudWatch.Tests/PeriodicBatchedSinkImplementationCallbackTests.cs @@ -12,6 +12,7 @@ using System.Threading.Tasks; using Xunit; using Xunit.Abstractions; +using LogEvent = Serilog.Events.LogEvent; namespace Serilog.Sinks.AwsCloudWatch.Tests { From b075aa56d1e656e050fa32933ea71b287390a5a3 Mon Sep 17 00:00:00 2001 From: Warren Parad <5056218+wparad@users.noreply.github.com> Date: Fri, 19 Jul 2024 18:46:29 +0200 Subject: [PATCH 2/2] Update src/Serilog.Sinks.AwsCloudWatch/Serilog.Sinks.AwsCloudWatch.csproj --- .../Serilog.Sinks.AwsCloudWatch.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Serilog.Sinks.AwsCloudWatch/Serilog.Sinks.AwsCloudWatch.csproj b/src/Serilog.Sinks.AwsCloudWatch/Serilog.Sinks.AwsCloudWatch.csproj index 9a8ead6..c66c8a8 100644 --- a/src/Serilog.Sinks.AwsCloudWatch/Serilog.Sinks.AwsCloudWatch.csproj +++ b/src/Serilog.Sinks.AwsCloudWatch/Serilog.Sinks.AwsCloudWatch.csproj @@ -28,7 +28,7 @@ - +