diff --git a/ArchiSteamFarm/NLog/Logging.cs b/ArchiSteamFarm/NLog/Logging.cs index 19dd1463e..227074c52 100644 --- a/ArchiSteamFarm/NLog/Logging.cs +++ b/ArchiSteamFarm/NLog/Logging.cs @@ -313,18 +313,6 @@ internal static class Logging { return null; } - private static async Task ReadLogFileLines(string filePath) { - ArgumentException.ThrowIfNullOrEmpty(filePath); - - try { - return await File.ReadAllLinesAsync(filePath).ConfigureAwait(false); - } catch (Exception e) { - ASF.ArchiLogger.LogGenericException(e); - - return null; - } - } - internal static void StartInteractiveConsole() { Utilities.InBackground(HandleConsoleInteractively, true); ASF.ArchiLogger.LogGenericInfo(Strings.InteractiveConsoleEnabled); @@ -594,4 +582,16 @@ internal static class Logging { LogManager.ReconfigExistingLoggers(); } } + + private static async Task ReadLogFileLines(string filePath) { + ArgumentException.ThrowIfNullOrEmpty(filePath); + + try { + return await File.ReadAllLinesAsync(filePath).ConfigureAwait(false); + } catch (Exception e) { + ASF.ArchiLogger.LogGenericException(e); + + return null; + } + } }