fixed code to allow compile (#23)
This commit is contained in:
parent
c0251e2485
commit
4b6ba97a87
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user