Skip to content

Commit

Permalink
AutoProperty
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmarbach committed Nov 9, 2024
1 parent 282ec19 commit b19893f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sdk/src/Core/Amazon.Runtime/Internal/Util/Logger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public class Logger : ILogger
{
private static ConcurrentDictionary<Type, Lazy<Logger>> cachedLoggers = new ConcurrentDictionary<Type, Lazy<Logger>>();
private List<InternalLogger> loggers;
private static Logger emptyLogger = new Logger();

private Logger()
{
Expand Down Expand Up @@ -130,7 +129,7 @@ public static void ClearLoggerCache()
}
}

public static Logger EmptyLogger { get { return emptyLogger; } }
public static Logger EmptyLogger { get; } = new Logger();

#endregion

Expand Down

0 comments on commit b19893f

Please sign in to comment.