Logging.h 361 B

1234567891011121314151617181920
  1. #pragma once
  2. #include "il2cpp-config.h"
  3. namespace il2cpp
  4. {
  5. namespace utils
  6. {
  7. class LIBIL2CPP_CODEGEN_API Logging
  8. {
  9. public:
  10. static void Write(const char* format, ...);
  11. static void SetLogCallback(Il2CppLogCallback method);
  12. static bool IsLogCallbackSet();
  13. private:
  14. static Il2CppLogCallback s_Callback;
  15. };
  16. }
  17. }