static logger
This commit is contained in:
@ -6,7 +6,7 @@ void KeyEventListener::trigger(char c) {
|
||||
}
|
||||
|
||||
char KeyEventListener::waitForKeyEvent() const {
|
||||
Logger::instance() << DEBUG << "KEvLis:: Thread with id: " << tid << " waiting for key event" << endl;
|
||||
logger << DEBUG << "KEvLis:: Thread with id: " << tid << " waiting for key event" << endl;
|
||||
scheduler.block();
|
||||
return this->lastChar; // This is only executed after thread is woken up by manager
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user