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