+ strLog.Format("<< %x -> %x: ", m_iLogicalAddress, dest);
+
+ switch (m_powerStatus)
+ {
+ case CEC_POWER_STATUS_ON:
+ strLog.append("powered on");
+ break;
+ case CEC_POWER_STATUS_STANDBY:
+ strLog.append("in standby mode");
+ break;
+ case CEC_POWER_STATUS_IN_TRANSITION_ON_TO_STANDBY:
+ strLog.append("in transition from on to standby");
+ break;
+ case CEC_POWER_STATUS_IN_TRANSITION_STANDBY_TO_ON:
+ strLog.append("in transition from standby to on");
+ break;
+ default:
+ strLog.append("power state unknown");
+ break;
+ }
+ AddLog(CEC_LOG_NOTICE, strLog.c_str());
+