18 #ifndef ZENI_ANDROID_H
19 #define ZENI_ANDROID_H
28 #include <android/log.h>
30 __android_log_print(ANDROID_LOG_VERBOSE,
"zenilib App",
"%s", str.
c_str());
33 __android_log_print(ANDROID_LOG_DEBUG ,
"zenilib App",
"%s", str.
c_str());
36 __android_log_print(ANDROID_LOG_INFO ,
"zenilib App",
"%s", str.
c_str());
39 __android_log_print(ANDROID_LOG_WARN ,
"zenilib App",
"%s", str.
c_str());
42 __android_log_print(ANDROID_LOG_ERROR ,
"zenilib App",
"%s", str.
c_str());
48 std::cerr <<
"zenilib App Verbose : " << str << std::endl;
51 std::cerr <<
"zenilib App Debug : " << str << std::endl;
54 std::cerr <<
"zenilib App Info : " << str << std::endl;
57 std::cerr <<
"zenilib App Warn : " << str << std::endl;
60 std::cerr <<
"zenilib App Error : " << str << std::endl;
void ZENI_LOGV(const Zeni::String &str)
const char * c_str() const
void ZENI_LOGW(const Zeni::String &str)
void ZENI_LOGD(const Zeni::String &str)
void ZENI_LOGE(const Zeni::String &str)
void ZENI_LOGI(const Zeni::String &str)