Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. #include <android/log.h>
  2. #define LOG_TAG "MethodTag"
  3. #define LOGI(...) __android_log_print(ANDROID_LOG_INFO, LOG_TAG,
  4. __VA_ARGS__)
  5.  
  6. LOGI("Before Method is run");
  7.  
  8. LOGI("After Method is run")
  9.  
  10. #include <android/log.h>
  11.  
  12. __android_log_print(ANDROID_LOG_INFO, "MethodTag", "The value before is
  13. %d", ret);
  14.  
  15. __android_log_print(ANDROID_LOG_INFO, "MethodTag", "The value after is
  16. %d", ret);
  17.  
  18. find_library( log-lib log )
  19.  
  20.  
  21. target_link_libraries(nfiq ${log-lib})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement