From 82d46c451851b25ac4862980b14844e466a54a9f Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Mon, 14 Sep 2020 17:16:47 -0500 Subject: [PATCH] =?UTF-8?q?refactor(archival):=20=E2=99=BB=20use=20PascalC?= =?UTF-8?q?ase=20in=20logger=20props?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Persistence/GitFileArchiver.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/Archival/FilterLists.Archival.Infrastructure/Persistence/GitFileArchiver.cs b/services/Archival/FilterLists.Archival.Infrastructure/Persistence/GitFileArchiver.cs index 07f7c658d..42f9bd2e7 100644 --- a/services/Archival/FilterLists.Archival.Infrastructure/Persistence/GitFileArchiver.cs +++ b/services/Archival/FilterLists.Archival.Infrastructure/Persistence/GitFileArchiver.cs @@ -32,13 +32,13 @@ public async Task ArchiveFileAsync( string filePath, CancellationToken cancellationToken = default) { - _logger.LogDebug("Writing {filePath}", filePath); + _logger.LogDebug("Writing {FilePath}", filePath); _filePaths.Add(filePath); await using var output = File.OpenWrite(filePath); await fileContents.CopyToAsync(output, cancellationToken); - _logger.LogDebug("Finished writing {filePath}", filePath); + _logger.LogDebug("Finished writing {FilePath}", filePath); } public void Commit() @@ -48,7 +48,7 @@ public void Commit() var message = $"feat(archives): archive {_filePaths.Count} files{Environment.NewLine}{string.Join(Environment.NewLine, _filePaths)}"; _repository.Commit(message, signature, signature); - _logger.LogDebug("Committed {@filePaths}", _filePaths); + _logger.LogDebug("Committed {@FilePaths}", _filePaths); } public void Dispose()