When I use Sonarqube to scan my code, I get a Security Hotspot issue (Make sure that this logger's configuration is safe) for the following line:
serviceCollection.AddSingleton(new LoggerFactory().AddLambdaLogger(loggerOptions));
How would I resolve this issue?