From 9f78dc34e1773d63e56ce813db820077237c1caa Mon Sep 17 00:00:00 2001 From: RayWang <2271272653@qq.com> Date: Fri, 30 Apr 2021 18:20:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dserver=E9=85=B1turbo=E7=89=88?= =?UTF-8?q?=E9=85=8D=E7=BD=AEbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ServerChanBatchedSink.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ray.Serilog.Sinks/Ray.Serilog.Sinks.ServerChanBatched/ServerChanBatchedSink.cs b/src/Ray.Serilog.Sinks/Ray.Serilog.Sinks.ServerChanBatched/ServerChanBatchedSink.cs index 3c00787..4100b44 100644 --- a/src/Ray.Serilog.Sinks/Ray.Serilog.Sinks.ServerChanBatched/ServerChanBatchedSink.cs +++ b/src/Ray.Serilog.Sinks/Ray.Serilog.Sinks.ServerChanBatched/ServerChanBatchedSink.cs @@ -25,7 +25,7 @@ LogEventLevel minimumLogEventLevel public override void Emit(LogEvent logEvent) { - if (_scKey.IsNullOrEmpty()) return; + if (_scKey.IsNullOrEmpty() && _turboScKey.IsNullOrEmpty()) return; base.Emit(logEvent); }