Skip to content

Commit

Permalink
fixup! SILKit-1607: Usage of InternalLogger and key values
Browse files Browse the repository at this point in the history
  • Loading branch information
VLukasBecker committed Oct 18, 2024
1 parent 7efbcab commit 853181d
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions SilKit/source/services/orchestration/SystemStateTracker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,12 @@ auto SystemStateTracker::UpdateParticipantStatus(const ParticipantStatus& newPar
if (oldParticipantState != newParticipantState)
{
result.participantStateChanged = true;

Log::LoggerMessage lm{_logger, Log::Level::Debug};
lm.SetMessage("The participant state has changed!");
lm.SetKeyValue("ParticipantName", participantName);
lm.Dispatch();

//Log::Debug(_logger, "The participant state has changed for {}", participantName);
{
Log::LoggerMessage lm{_logger, Log::Level::Debug};
lm.SetMessage("The participant state has changed!");
lm.SetKeyValue("ParticipantName", participantName);
lm.Dispatch();
}

if (IsRequiredParticipant(participantName))
{
Expand Down

0 comments on commit 853181d

Please sign in to comment.