Skip to content

Commit 455a10f

Browse files
committed
Comment out SelfLog for now as requested
1 parent 836854e commit 455a10f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Serilog.Sinks.File/Sinks/File/RollingFileSink.cs

+2
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,12 @@ public void Emit(LogEvent logEvent)
8484
AlignCurrentFileTo(now, nextSequence: true);
8585
}
8686

87+
/* TODO: We REALLY should add this to avoid stuff become missing undetected.
8788
if (_currentFile == null)
8889
{
8990
SelfLog.WriteLine("Log event {0} was lost since it was not possible to open the file or create a new one.", logEvent.RenderMessage());
9091
}
92+
*/
9193
}
9294
}
9395

0 commit comments

Comments
 (0)