Browse Source

Adjusted logging

pull/11/head
Anairkoen Schno 5 years ago
parent
commit
8d99d9589b
2 changed files with 4 additions and 4 deletions
  1. +3
    -3
      IPA.Loader/Logging/Printers/GZFilePrinter.cs
  2. +1
    -1
      IPA.Loader/Logging/StandardLogger.cs

+ 3
- 3
IPA.Loader/Logging/Printers/GZFilePrinter.cs View File

@ -96,12 +96,12 @@ namespace IPA.Logging.Printers
FileWriter.Flush();
zstream.Flush();
fstream.Flush();
FileWriter.Close();
zstream.Close();
fstream.Close();
FileWriter.Dispose();
zstream.Dispose();
fstream.Dispose();
FileWriter = null;
zstream = null;
fstream = null;
}
/// <inheritdoc />


+ 1
- 1
IPA.Loader/Logging/StandardLogger.cs View File

@ -239,7 +239,7 @@ namespace IPA.Logging
private static StandardLogger loggerLogger;
private const int LogCloseTimeout = 500;
private const int LogCloseTimeout = 250;
/// <summary>
/// The log printer thread for <see cref="StandardLogger"/>.


Loading…
Cancel
Save