We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 836854e commit 455a10fCopy full SHA for 455a10f
src/Serilog.Sinks.File/Sinks/File/RollingFileSink.cs
@@ -84,10 +84,12 @@ public void Emit(LogEvent logEvent)
84
AlignCurrentFileTo(now, nextSequence: true);
85
}
86
87
+ /* TODO: We REALLY should add this to avoid stuff become missing undetected.
88
if (_currentFile == null)
89
{
90
SelfLog.WriteLine("Log event {0} was lost since it was not possible to open the file or create a new one.", logEvent.RenderMessage());
91
92
+ */
93
94
95
0 commit comments