Files
gkms-local/app/src/main/cpp/GakumasLocalify/Log.h
T
chinosk d83854c755 Adapted for multi-platform compilation
Fixed URL input could only enter numbers
2025-03-17 22:26:52 +00:00

33 lines
767 B
C++

#ifndef GAKUMAS_LOCALIFY_LOG_H
#define GAKUMAS_LOCALIFY_LOG_H
#include "../platformDefine.hpp"
#include <string>
#ifndef GKMS_WINDOWS
#include <jni.h>
#endif
namespace GakumasLocal::Log {
std::string StringFormat(const char* fmt, ...);
void LogUnityLog(int prio, const char* fmt, ...);
void LogFmt(int prio, const char* fmt, ...);
void Info(const char* msg);
void InfoFmt(const char* fmt, ...);
void Error(const char* msg);
void ErrorFmt(const char* fmt, ...);
void Debug(const char* msg);
void DebugFmt(const char* fmt, ...);
void ShowToast(const char* text);
void ShowToastFmt(const char* fmt, ...);
#ifndef GKMS_WINDOWS
void ToastLoop(JNIEnv *env, jclass clazz);
#endif
}
#endif //GAKUMAS_LOCALIFY_LOG_H