initial commit
This commit is contained in:
commit
4b60ece582
327 changed files with 28286 additions and 0 deletions
24
lib/wDispatcher/logger.cpp
Normal file
24
lib/wDispatcher/logger.cpp
Normal file
|
@ -0,0 +1,24 @@
|
|||
#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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue