needed interface changes [new options] logger for android wifi-ap-optimization new test-cases
19 lines
316 B
C++
19 lines
316 B
C++
#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
|