We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b396bc commit 05827deCopy full SHA for 05827de
src/SeqCli/Cli/Commands/BenchCommand.cs
@@ -124,7 +124,10 @@ Logger BuildReportingLogger()
124
: new LoggerConfiguration()
125
.Enrich.FromLogContext()
126
.WriteTo.Console()
127
- .WriteTo.Seq(_reportingServerUrl, period: TimeSpan.FromMilliseconds(1))
+ .WriteTo.Seq(
128
+ _reportingServerUrl,
129
+ apiKey: string.IsNullOrWhiteSpace(_reportingServerApiKey) ? null : _reportingServerApiKey,
130
+ period: TimeSpan.FromMilliseconds(1))
131
.CreateLogger();
132
}
133
0 commit comments