fix: refine editor console logging

This commit is contained in:
2026-04-05 02:26:21 +08:00
parent cb7d60ec13
commit 811958351e
4 changed files with 123 additions and 68 deletions

View File

@@ -6,13 +6,13 @@ namespace XCEngine
internal static class InternalCalls
{
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern void Debug_Log(string message);
internal static extern void Debug_Log(string message, string file, int line, string member);
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern void Debug_LogWarning(string message);
internal static extern void Debug_LogWarning(string message, string file, int line, string member);
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern void Debug_LogError(string message);
internal static extern void Debug_LogError(string message, string file, int line, string member);
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern float Time_GetDeltaTime();