16 #ifndef ALEXA_CLIENT_SDK_DIAGNOSTICS_INCLUDE_DIAGNOSTICS_DEVICEPROTOCOLTRACER_H_ 17 #define ALEXA_CLIENT_SDK_DIAGNOSTICS_INCLUDE_DIAGNOSTICS_DEVICEPROTOCOLTRACER_H_ 26 namespace diagnostics {
38 static std::shared_ptr<DeviceProtocolTracer>
create();
70 void clearTracedMessagesLocked();
77 void traceMessageLocked(
const std::string& messageContent);
83 bool m_isProtocolTraceEnabled;
86 unsigned int m_maxMessages;
89 std::vector<std::string> m_tracedMessages;
95 #endif // ALEXA_CLIENT_SDK_DIAGNOSTICS_INCLUDE_DIAGNOSTICS_DEVICEPROTOCOLTRACER_H_ static std::shared_ptr< DeviceProtocolTracer > create()
Definition: ProtocolTracerInterface.h:27
Definition: DeviceProtocolTracer.h:31
::std::string string
Definition: gtest-port.h:1097
void clearTracedMessages() override
void traceEvent(const std::string &messageContent) override
bool setMaxMessages(unsigned int limit) override
void setProtocolTraceFlag(bool enabled) override
unsigned int getMaxMessages() override
void receive(const std::string &contextId, const std::string &message) override
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
std::string getProtocolTrace() override
tuple message
Definition: gtest_output_test.py:331