2026-01-12 01:55:20 +09:00
|
|
|
#ifndef __GEARSRC_LOG_H__
|
|
|
|
|
#define __GEARSRC_LOG_H__
|
2026-01-12 01:54:35 +09:00
|
|
|
|
|
|
|
|
#include <GearSrc/MachDep.h>
|
|
|
|
|
#include <GearSrc/TypeDefs.h>
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
enum GSLogLevel {
|
|
|
|
|
GSLogInfo = 0,
|
|
|
|
|
GSLogWarn,
|
2026-01-12 11:48:26 +09:00
|
|
|
GSLogError,
|
|
|
|
|
GSLogDebug
|
2026-01-12 01:54:35 +09:00
|
|
|
};
|
|
|
|
|
|
2026-01-25 13:35:09 +09:00
|
|
|
GSDECL void GSLog(GSEngine engine, int level, const char* fmt, ...);
|
2026-01-12 01:54:35 +09:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif
|