Prints debug message as warning message and prints stack trace of calls.
- Аргументы
-
msg | string Debug message for warning print |
- Возвращает
void
None
>> [Warning]: Hello
World,
this is warning log
>> -- Stack trace --
>> OnKeyPress() Scripts/
mission/missionGameplay.c : 230
>> OnKeyPress() Scripts/DayZGame.c : 346
>> -----------------
static void LogWarningAndTrace(string msg)
Prints debug message as warning message and prints stack trace of calls.
См. определение в файле DebugPrint.c строка 90
91 {
93 }
void LogMessage(string msg, int msg_type, bool trace=false)
Перекрестные ссылки LogMessage() и MSG_WARNING.