1

remove logger from globals, use static

This commit is contained in:
2022-07-24 16:55:09 +02:00
parent 0d109727ac
commit 18e0a666c8
3 changed files with 1 additions and 3 deletions

View File

@ -6,7 +6,7 @@ void KeyEventListener::trigger(char c) {
}
char KeyEventListener::waitForKeyEvent() const {
logger << DEBUG << "KEvLis:: Thread with id: " << tid << " waiting for key event" << endl;
Logger::instance() << 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
}