Log: Also log filename and line number of caller

This commit is contained in:
Simon Lübeß
2024-01-20 21:23:34 +01:00
parent 55eef017e7
commit 02be6d8eb7
7 changed files with 160 additions and 87 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ internal static class ScriptGlue
#region Log
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern void Log_LogMessage(Log.LogLevel logLevel, string message);
internal static extern void Log_LogMessage(Log.LogLevel logLevel, string message, string filePath, int line);
[MethodImpl(MethodImplOptions.InternalCall)]