Skip to content

Commit cde803d

Browse files
committed
Replace reference of LogLevel enum from Core to RuntimeSupport version
1 parent e24c52f commit cde803d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Libraries/src/Amazon.Lambda.RuntimeSupport/Bootstrap/LambdaBootstrap.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ public static HttpClient ConstructHttpClient()
254254
private void WriteUnhandledExceptionToLog(Exception exception)
255255
{
256256
#if NET6_0_OR_GREATER
257-
Client.ConsoleLogger.FormattedWriteLine(LogLevel.Error.ToString(), exception, null);
257+
Client.ConsoleLogger.FormattedWriteLine(Amazon.Lambda.RuntimeSupport.Helpers.LogLevelLoggerWriter.LogLevel.Error.ToString(), exception, null);
258258
#else
259259
Console.Error.WriteLine(exception);
260260
#endif

0 commit comments

Comments
 (0)