Added .NET 4.8 and upgraded project to .NET 8.0

This commit is contained in:
2024-02-08 20:33:44 +01:00
parent 54239a44c7
commit 681a940f96
5 changed files with 32 additions and 35 deletions

View File

@@ -94,7 +94,7 @@ namespace EonaCat.Logger.EonaCatCoreLogger
File.Delete(rollOverFile);
}
fileInfo.CopyTo(rollOverFile);
await File.WriteAllTextAsync(LogFile, string.Empty, cancellationToken).ConfigureAwait(false);
File.WriteAllText(LogFile, string.Empty);
}
else
{