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