Attn: Add support for raw PEL creation

Attention handler needs to pass raw PEL's to phosphor logging in order
to submit PEL's on behalf of other components (e.g. hypervisor)

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: Id9a30728e7b463ac876b5dca023ca2627a25bb16
diff --git a/test/end2end/logging.cpp b/test/end2end/logging.cpp
index 5163c4e..a03ad4c 100644
--- a/test/end2end/logging.cpp
+++ b/test/end2end/logging.cpp
@@ -31,7 +31,8 @@
     std::cout << "event: attention fail" << i_error << std::endl;
 }
 
-void eventTerminate(std::map<std::string, std::string> i_additionalData)
+void eventTerminate(std::map<std::string, std::string> i_additionalData,
+                    char* i_tiInfoData)
 {
     std::cout << "event: terminate" << std::endl;
 
@@ -41,6 +42,11 @@
         std::cout << '\t' << itr->first << '\t' << itr->second << '\n';
     }
     std::cout << std::endl;
+
+    if (nullptr != i_tiInfoData)
+    {
+        std::cout << "TI data present" << std::endl;
+    }
 }
 
 void eventVital()