Platform Event Log (PEL) generation support added

Attention events will now generate an associated PEL

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I8d2c73657cc7eced93e6465c391c0a600c4278fa
diff --git a/test/end2end/logging.cpp b/test/end2end/logging.cpp
index ba0add7..f645947 100644
--- a/test/end2end/logging.cpp
+++ b/test/end2end/logging.cpp
@@ -1,4 +1,4 @@
-#include <attn/logging.hpp>
+#include <attn/attn_logging.hpp>
 
 #include <iostream>
 
@@ -7,9 +7,37 @@
 
 /** @brief Log message of type INFO using stdout */
 template <>
-void log<INFO>(const char* i_message)
+void trace<INFO>(const char* i_message)
 {
-    std::cout << i_message << std::endl;
+    std::cout << "trace: " << i_message << std::endl;
+}
+
+void eventCheckstop(std::map<std::string, std::string>& i_errors)
+{
+    std::string signature = i_errors.begin()->first;
+    std::string chip      = i_errors.begin()->second;
+
+    std::cout << "event: checkstop, signature = " << signature
+              << ", chip = " << chip << std::endl;
+}
+
+void eventHwDiagsFail(int i_error)
+{
+    std::cout << "event: hwdiags fail  " << i_error << std::endl;
+}
+
+void eventAttentionFail(int i_error)
+{
+    std::cout << "event: attention fail" << i_error << std::endl;
+}
+
+void eventTerminate()
+{
+    std::cout << "event: terminate" << std::endl;
+}
+void eventVital()
+{
+    std::cout << "event: vital" << std::endl;
 }
 
 } // namespace attn