blob: 6342e2734d223438e5e7e311d23fa054023c6e51 [file] [log] [blame]
#include <attn/attn_logging.hpp>
#include <iostream>
namespace attn
{
void eventAttentionFail(int i_error)
{
std::cout << "event: attention fail" << i_error << std::endl;
}
void eventTerminate(std::map<std::string, std::string> i_additionalData,
char* i_tiInfoData)
{
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;
if (nullptr != i_tiInfoData)
{
std::cout << "TI data present" << std::endl;
}
}
uint32_t eventVital()
{
std::cout << "event: vital" << std::endl;
return 0;
}
} // namespace attn