Attn: Added INFO level trace to test case code
Recently defined this for non-test case (dbus logging) code need local
unit test case version (std::cout).
Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: Iff3b6491062fa7e3edf670b3f2cbba7104ea9522
diff --git a/test/end2end/logging.cpp b/test/end2end/logging.cpp
index 7574888..4adb5af 100644
--- a/test/end2end/logging.cpp
+++ b/test/end2end/logging.cpp
@@ -12,6 +12,13 @@
std::cout << "trace: " << i_message << std::endl;
}
+/** @brief Log message of type ERROR using stdout */
+template <>
+void trace<ERROR>(const char* i_message)
+{
+ std::cout << "error: " << i_message << std::endl;
+}
+
void eventAttentionFail(int i_error)
{
std::cout << "event: attention fail" << i_error << std::endl;