1 #ifndef UTILS_DEPENDENT_HPP 2 #define UTILS_DEPENDENT_HPP 4 #include <android/log.h> 8 inline void printDebug(const ::std::string &log);
10 inline void printInfo(const ::std::string &log);
12 inline void printWarn(const ::std::string &log);
14 inline void printError(const ::std::string &log);
18 __android_log_print(ANDROID_LOG_DEBUG,
"LOG",
"%s", log.c_str());
22 __android_log_print(ANDROID_LOG_INFO,
"LOG",
"%s", log.c_str());
26 __android_log_print(ANDROID_LOG_WARN,
"LOG",
"%s", log.c_str());
30 __android_log_print(ANDROID_LOG_ERROR,
"LOG",
"%s", log.c_str());
33 #endif //UTILS_DEPENDENT_HPP Definition: Utils_dependent.hpp:7
void printWarn(const ::std::string &log)
Definition: Utils_dependent.hpp:25
void printInfo(const ::std::string &log)
Definition: Utils_dependent.hpp:21
void printDebug(const ::std::string &log)
Definition: Utils_dependent.hpp:17
void printError(const ::std::string &log)
Definition: Utils_dependent.hpp:29