radio/lib/wDispatcher/logger.cpp

25 lines
402 B
C++
Raw Normal View History

2018-08-04 21:46:25 +00:00
#include "logger.h"
#include "iostream"
W::Logger::Logger():
DefaultHandler()
{
}
W::Logger::~Logger()
{
}
bool W::Logger::call(const W::Event& ev) const
{
std::cout << "Event went to default handler.\n";
std::cout << "Destination: " << ev.getDestination().toString() << "\n";
std::cout << "Data: " << ev.getData().toString();
std::cout << std::endl;
return false;
}