Skip to content

Commit

Permalink
[APIPUB-76] - Adds Sonar Analyzer - log web api metadata as a json fo…
Browse files Browse the repository at this point in the history
…rmat. (#82)
  • Loading branch information
DavidJGapCR authored Oct 8, 2024
1 parent c4cbd7c commit 50559ff
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ JObject GetVersionObject(string versionJson)
try
{
versionObject = JObject.Parse(versionJson);
_logger.Information("{Role} version information: {VersionObject}",
_role, versionObject.ToString(Formatting.Indented));
var message = $"{_role} version information: {versionObject.ToString(Formatting.Indented)}";
_logger.Information(message);
}
catch (Exception)
{
Expand Down

0 comments on commit 50559ff

Please sign in to comment.