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

◆ LogMessage()

void DebugPrint::LogMessage ( string msg,
int msg_type,
bool trace = false )
inlinestaticprivate

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

219 {
220 string mesg = "["+s_MsgPrefix[msg_type]+"]: "+msg;
221
222 Print(mesg);
223
224 if ( trace )
225 {
226 DumpStack();
227 }
228 }
string s_MsgPrefix[MSG_COUNT]
Определения DebugPrint.c:8
proto void DumpStack()
Prints current call stack (stack trace)
proto void Print(void var)
Prints content of variable to console/log.

Перекрестные ссылки DumpStack(), Print() и s_MsgPrefix.

Используется в Log(), LogAndTrace(), LogError(), LogErrorAndTrace(), LogWarning() и LogWarningAndTrace().