Simplify LogNullError calls (#2554)

* Remove necessity of nameof(...) in calls to ArchiLogger.LogNullError(...)

* Upgrade Madness

* Upgrade Madness

* Split up compound null log statements
This commit is contained in:
Sebastian Göls
2022-04-13 23:16:36 +02:00
committed by GitHub
parent 2326196e01
commit b8bfcd5df3
26 changed files with 186 additions and 162 deletions

View File

@@ -162,7 +162,7 @@ internal sealed class CrossProcessFileBasedSemaphore : ICrossProcessSemaphore, I
string? directoryPath = Path.GetDirectoryName(FilePath);
if (string.IsNullOrEmpty(directoryPath)) {
ASF.ArchiLogger.LogNullError(nameof(directoryPath));
ASF.ArchiLogger.LogNullError(directoryPath);
return;
}