MCPcopy Create free account
hub / github.com/Pulse-Eight/libcec / CallbackAddLog

Method CallbackAddLog

src/libcec/CECClient.cpp:1745–1757  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1743}
1744
1745void CCECClient::CallbackAddLog(const cec_log_message_cpp &message)
1746{
1747 CLockObject lock(m_cbMutex);
1748 if (!!m_configuration.callbacks &&
1749 !!m_configuration.callbacks->logMessage)
1750 {
1751 cec_log_message toClient;
1752 toClient.level = message.level;
1753 toClient.message = message.message.c_str();
1754 toClient.time = message.time;
1755 m_configuration.callbacks->logMessage(m_configuration.callbackParam, &toClient);
1756 }
1757}
1758
1759void CCECClient::CallbackConfigurationChanged(const libcec_configuration &config)
1760{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected