needed interface changes [new options] logger for android wifi-ap-optimization new test-cases
20 lines
293 B
C++
20 lines
293 B
C++
#ifndef LOGGERANDROID_H
|
|
#define LOGGERANDROID_H
|
|
|
|
#include "Logger.h"
|
|
|
|
class LoggerAndroid : public Logger {
|
|
|
|
public:
|
|
|
|
virtual void add(const std::string& str, const bool nl) override {
|
|
(void) nl;
|
|
#ifdef ANDROID
|
|
QMessageLogger().info(str.c_str());
|
|
#endif
|
|
}
|
|
|
|
};
|
|
|
|
#endif // LOGGERANDROID_H
|