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

◆ AdjustDebugLog()

static string DebugPrint::AdjustDebugLog ( string msg)
inlinestaticprivate

Function adjust received message for debug console (Do not use)

Аргументы
msgstring Message for adjust
Возвращает
string Adjusted Message
string msg = DebugPrint.AdjustDebugLog("s = 'Hello World, this is error log'");
>> Hello World, this is error log
static void Log(string msg)
Prints debug message with normal prio.
Определения DebugPrint.c:37
static string AdjustDebugLog(string msg)
Function adjust received message for debug console (Do not use)
Определения DebugPrint.c:141
Определения DebugPrint.c:2
Определения World.c:2

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

142 {
143 if ( IsStackTrace(msg) )
144 {
145 return TrimStackTrace(msg);
146 }
147
148 if ( IsDebugLog(msg) )
149 {
150 return TrimDebugLog(msg);
151 }
152
153 return msg;
154 }
bool IsStackTrace(string msg)
Определения DebugPrint.c:187
bool IsDebugLog(string msg)
Определения DebugPrint.c:161
string TrimStackTrace(string msg)
Определения DebugPrint.c:208
string TrimDebugLog(string msg)
Определения DebugPrint.c:173

Перекрестные ссылки IsDebugLog(), IsStackTrace(), TrimDebugLog() и TrimStackTrace().