some fixes [multithreading,..]
needed interface changes [new options] logger for android wifi-ap-optimization new test-cases
This commit is contained in:
18
misc/log/LoggerCOUT.h
Normal file
18
misc/log/LoggerCOUT.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef LOGGERCOUT_H
|
||||
#define LOGGERCOUT_H
|
||||
|
||||
#include "Logger.h"
|
||||
#include <iostream>
|
||||
|
||||
class LoggerCOUT : public Logger {
|
||||
|
||||
public:
|
||||
|
||||
virtual void add(const std::string& str, const bool nl) override {
|
||||
std::cout << str;
|
||||
if (nl) {std::cout << std::endl;} else {std::cout << std::flush;}
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
#endif // LOGGERCOUT_H
|
||||
Reference in New Issue
Block a user