some fixes [multithreading,..]
needed interface changes [new options] logger for android wifi-ap-optimization new test-cases
This commit is contained in:
19
misc/log/LoggerAndroid.h
Normal file
19
misc/log/LoggerAndroid.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user