DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ LogAndTrace()

static void DebugPrint::LogAndTrace ( string msg)
inlinestaticprivate

Prints debug message as normal message and prints stack trace of calls.

Аргументы
msgstring Debug message for print
Возвращает
void None
DebugPrint.LogAndTrace("Hello World, this is normal log");
>> [Log]: Hello World, this is normal log
>> -- Stack trace --
>> OnKeyPress() Scripts/mission/missionGameplay.c : 230
>> OnKeyPress() Scripts/DayZGame.c : 346
>> -----------------
Mission mission
Определения DisplayStatus.c:28
static void Log(string msg)
Prints debug message with normal prio.
Определения DebugPrint.c:37
static void LogAndTrace(string msg)
Prints debug message as normal message and prints stack trace of calls.
Определения DebugPrint.c:56
Определения DebugPrint.c:2
Определения World.c:2

См. определение в файле DebugPrint.c строка 56

57 {
58 LogMessage(msg, MSG_LOG, true);
59 }
const int MSG_LOG
Определения DebugPrint.c:3
void LogMessage(string msg, int msg_type, bool trace=false)
Определения DebugPrint.c:218

Перекрестные ссылки LogMessage() и MSG_LOG.