Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ce12312

Browse files
committed
C#: Disable the write-through of the logger, as this is a theoretical slowdown, and results in less readable log files when multiple extractors are running concurrently.
1 parent a6b7f2d commit ce12312

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

csharp/extractor/Semmle.Util/Logger.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ public FileLogger(Verbosity verbosity, string outputFile)
7272
Directory.CreateDirectory(dir);
7373
writer = new PidStreamWriter(new FileStream(outputFile, FileMode.Append, FileAccess.Write,
7474
FileShare.ReadWrite, 8192));
75-
writer.AutoFlush = true;
7675
}
7776
catch (Exception ex) // lgtm[cs/catch-of-all-exceptions]
7877
{

0 commit comments

Comments
 (0)