You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Serilog.Sinks.RollingFile/Sinks/RollingFile/RollingFileSink.cs
-9
Original file line number
Diff line number
Diff line change
@@ -71,11 +71,6 @@ public RollingFileSink(string pathFormat,
71
71
if(fileSizeLimitBytes.HasValue&&fileSizeLimitBytes<0)thrownewArgumentException("Negative value provided; file size limit must be non-negative");
72
72
if(retainedFileCountLimit.HasValue&&retainedFileCountLimit<1)thrownewArgumentException("Zero or negative value provided; retained file count limit must be at least 1");
73
73
74
-
#if !SHARING
75
-
if(shared)
76
-
thrownewNotSupportedException("File sharing is not supported on this platform.");
0 commit comments