ATTN:ti_handler Add TI data to PEL
Parse TI data buffer and store in PEL.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I5baf4c14719f510281c2943ea681c6db53c9c87e
diff --git a/test/end2end/logging.cpp b/test/end2end/logging.cpp
index f645947..5163c4e 100644
--- a/test/end2end/logging.cpp
+++ b/test/end2end/logging.cpp
@@ -31,10 +31,18 @@
std::cout << "event: attention fail" << i_error << std::endl;
}
-void eventTerminate()
+void eventTerminate(std::map<std::string, std::string> i_additionalData)
{
std::cout << "event: terminate" << std::endl;
+
+ std::map<std::string, std::string>::iterator itr;
+ for (itr = i_additionalData.begin(); itr != i_additionalData.end(); ++itr)
+ {
+ std::cout << '\t' << itr->first << '\t' << itr->second << '\n';
+ }
+ std::cout << std::endl;
}
+
void eventVital()
{
std::cout << "event: vital" << std::endl;