log: promouvoir transitions ECS/SgReady de qCDebug → qCInfo

Visible avec NymeaEnergy.info=true dans nymead.conf sans activer debug global.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Patrick Schurig 2026-06-26 06:27:00 +02:00
parent 9242a6e28c
commit c43449cafe
2 changed files with 9 additions and 9 deletions

View File

@ -128,11 +128,11 @@ LoadAction EcsRelayAdapter::applyAction(const LoadAction &action, const QDateTim
return action;
}
qCDebug(dcNymeaEnergy()) << "[EcsRelayAdapter]" << m_label
<< "→ stage" << newStage
<< "(" << (m_currentStage < m_stages.size() ? m_stages.at(m_currentStage) : 0) << "W"
<< "" << m_stages.at(newStage) << "W)"
<< "|" << action.reason;
qCInfo(dcNymeaEnergy()) << "[EcsRelayAdapter]" << m_label
<< "→ stage" << newStage
<< "(" << (m_currentStage < m_stages.size() ? m_stages.at(m_currentStage) : 0) << "W"
<< "" << m_stages.at(newStage) << "W)"
<< "|" << action.reason;
applyRelayStage(newStage);

View File

@ -111,10 +111,10 @@ LoadAction SgReadyAdapter::applyAction(const LoadAction &action, const QDateTime
return action;
}
qCDebug(dcNymeaEnergy()) << "[SgReadyAdapter]" << m_label
<< "→ état" << newState
<< "(" << m_estimatedPowerW.value(newState, 0.0) << "W estimés)"
<< "|" << action.reason;
qCInfo(dcNymeaEnergy()) << "[SgReadyAdapter]" << m_label
<< "→ état" << newState
<< "(" << m_estimatedPowerW.value(newState, 0.0) << "W estimés)"
<< "|" << action.reason;
applyStateRelays(m_currentState, newState);