Browse Source

Adjusted logging

pull/46/head
Anairkoen Schno 5 years ago
parent
commit
d2d4ced872
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(); FileWriter.Flush();
zstream.Flush(); zstream.Flush();
fstream.Flush(); fstream.Flush();
FileWriter.Close();
zstream.Close();
fstream.Close();
FileWriter.Dispose(); FileWriter.Dispose();
zstream.Dispose(); zstream.Dispose();
fstream.Dispose(); fstream.Dispose();
FileWriter = null;
zstream = null;
fstream = null;
} }
/// <inheritdoc /> /// <inheritdoc />


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

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


Loading…
Cancel
Save