ConsoleExtension.cpp 325 B

123456789101112131415161718192021222324
  1. #include "il2cpp-config.h"
  2. #if IL2CPP_TARGET_ANDROID
  3. #include "utils/StringUtils.h"
  4. #include <jni.h>
  5. #include <android/log.h>
  6. namespace il2cpp
  7. {
  8. namespace os
  9. {
  10. namespace ConsoleExtension
  11. {
  12. void Write(const char* buffer)
  13. {
  14. __android_log_print(ANDROID_LOG_INFO, "IL2CPP", "%s", buffer);
  15. }
  16. }
  17. }
  18. }
  19. #endif