fixed code to allow compile (#23)

This commit is contained in:
James Tombleson 2023-04-03 09:32:42 -07:00 committed by GitHub
parent c0251e2485
commit 4b6ba97a87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,7 +80,7 @@ static ILogger GetLogger(IConfiguration configuration)
{
var otel = configuration.GetValue<string>(ConfigConnectionStringConst.OpenTelemetry) ?? "";
if (otel == "")s
if (otel == "")
return Log.Logger = new LoggerConfiguration()
.WriteTo.Console()
.MinimumLevel.Information()
@ -88,7 +88,6 @@ static ILogger GetLogger(IConfiguration configuration)
return Log.Logger = new LoggerConfiguration()
.WriteTo.Console()
.MinimumLevel.Information()
.WriteTo.OpenTelemetry(
otel,