Skip to content

Commit 7ceeb88

Browse files
committed
logigng
1 parent 2c60e80 commit 7ceeb88

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/ModVerify.CliApp/ModVerifyApplication.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ private async Task<int> RunVerify()
8686

8787
var reportSettings = CreateGlobalReportSettings(installData);
8888

89-
_logger?.LogDebug("Verify install data: {VerifyInstallationData}", installData);
90-
_logger?.LogTrace("Verify settings: {ModVerifyAppSettings}", settings);
89+
_logger?.LogDebug("Verify install data: {InstallData}", installData);
90+
_logger?.LogTrace("Verify settings: {Settings}", settings);
9191

9292
var allErrors = await Verify(installData, reportSettings)
9393
.ConfigureAwait(false);
@@ -126,7 +126,7 @@ private async Task<IReadOnlyCollection<VerificationError>> Verify(
126126

127127
try
128128
{
129-
_logger?.LogInformation(ModVerifyConstants.ConsoleEventId, "Creating Game Engine '{InstallDataEngineType}'", installData.EngineType);
129+
_logger?.LogInformation(ModVerifyConstants.ConsoleEventId, "Creating Game Engine '{Engine}'", installData.EngineType);
130130
gameEngine = await gameEngineService.InitializeAsync(
131131
installData.EngineType,
132132
installData.GameLocations,
@@ -143,7 +143,7 @@ private async Task<IReadOnlyCollection<VerificationError>> Verify(
143143
}
144144
catch (Exception e)
145145
{
146-
_logger?.LogError(e, "Creating game engine failed: {EMessage}", e.Message);
146+
_logger?.LogError(e, "Creating game engine failed: {Message}", e.Message);
147147
throw;
148148
}
149149

@@ -181,7 +181,7 @@ private async Task<IReadOnlyCollection<VerificationError>> Verify(
181181
}
182182
catch (Exception e)
183183
{
184-
_logger?.LogError(e, "Verification failed: {EMessage}", e.Message);
184+
_logger?.LogError(e, "Verification failed: {Message}", e.Message);
185185
throw;
186186
}
187187

@@ -224,7 +224,7 @@ private GlobalVerifyReportSettings CreateGlobalReportSettings(VerifyInstallation
224224
var baseline = baselineSelector.SelectBaseline(installData, out var baselinePath);
225225

226226
if (baseline.Count > 0)
227-
_logger?.LogInformation(ModVerifyConstants.ConsoleEventId, "Using baseline '{UsedBaselinePath}'", baselinePath);
227+
_logger?.LogInformation(ModVerifyConstants.ConsoleEventId, "Using baseline '{Baseline}'", baselinePath);
228228

229229
var suppressionsFile = settings.ReportSettings.SuppressionsPath;
230230
SuppressionList suppressions;
@@ -237,7 +237,7 @@ private GlobalVerifyReportSettings CreateGlobalReportSettings(VerifyInstallation
237237
suppressions = SuppressionList.FromJson(fs);
238238

239239
if (suppressions.Count > 0)
240-
_logger?.LogInformation(ModVerifyConstants.ConsoleEventId, "Using suppressions from '{SuppressionsFile}'", suppressionsFile);
240+
_logger?.LogInformation(ModVerifyConstants.ConsoleEventId, "Using suppressions from '{Suppressions}'", suppressionsFile);
241241
}
242242

243243

0 commit comments

Comments
 (0)