AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <TestTrace.h>
Public Member Functions | |
TestTrace () | |
void | log (const std::string &message) |
template<typename ValueType > | |
void | log (const std::string &name, const ValueType &value) |
Utility class that can be used to print logs in testcases.
This class will print debug logs and it will include the test suite and test name as part of the logs.
alexaClientSDK::avsCommon::utils::logger::TestTrace::TestTrace | ( | ) |
Initialize object and logger as well.
void alexaClientSDK::avsCommon::utils::logger::TestTrace::log | ( | const std::string & | message | ) |
Log a message.
message | The message to be logged. |
void alexaClientSDK::avsCommon::utils::logger::TestTrace::log | ( | const std::string & | name, |
const ValueType & | value | ||
) |
Log a value.
ValueType | The type of the value (must be supported by LogEntry). |
name | A string used to identify the value. |
value | The value to be logged. |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0