From cde803dee9826416202771cd650e76ee985a8349 Mon Sep 17 00:00:00 2001 From: Norm Johanson Date: Tue, 24 Sep 2024 17:29:34 -0700 Subject: [PATCH] Replace reference of LogLevel enum from Core to RuntimeSupport version --- .../Amazon.Lambda.RuntimeSupport/Bootstrap/LambdaBootstrap.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/src/Amazon.Lambda.RuntimeSupport/Bootstrap/LambdaBootstrap.cs b/Libraries/src/Amazon.Lambda.RuntimeSupport/Bootstrap/LambdaBootstrap.cs index c7e78835b..019d79ea8 100644 --- a/Libraries/src/Amazon.Lambda.RuntimeSupport/Bootstrap/LambdaBootstrap.cs +++ b/Libraries/src/Amazon.Lambda.RuntimeSupport/Bootstrap/LambdaBootstrap.cs @@ -254,7 +254,7 @@ public static HttpClient ConstructHttpClient() private void WriteUnhandledExceptionToLog(Exception exception) { #if NET6_0_OR_GREATER - Client.ConsoleLogger.FormattedWriteLine(LogLevel.Error.ToString(), exception, null); + Client.ConsoleLogger.FormattedWriteLine(Amazon.Lambda.RuntimeSupport.Helpers.LogLevelLoggerWriter.LogLevel.Error.ToString(), exception, null); #else Console.Error.WriteLine(exception); #endif