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

◆ LogInfo()

void LogInfo ( string message,
LogTemplateID template_id = 0 )

Creates info log (optional) from LogTemplate which are registred.

Аргументы
template_idLogTemplateID ID of LogTemplate which was registred in proto/Logtemplate.h -> "class LogTemplates"
messagestring Info message for log
Возвращает
void
LogInfo("This is some info log message", TEMPLATE_JINDRICH);
>> output to scriptExt.log (for GamutLogViewer)
void LogInfo(string message, LogTemplateID template_id=0)
Creates info log (optional) from LogTemplate which are registred.
Определения LogTemplates.c:93

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

94{
95 LogTemplate log_template = LogTemplates.GetTemplate(template_id);
96
97 Debug.LogInfo(message, log_template.param2, log_template.param1, log_template.param3);
98}
Param3< string, string, string > LogTemplate
Определения LogTemplates.c:1
static void LogInfo(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message with normal prio.
Определения Debug.c:215
Определения Debug.c:2
static LogTemplate GetTemplate(LogTemplateID template_id)
Определения LogTemplates.c:52
Определения LogTemplates.c:8

Перекрестные ссылки LogTemplates::GetTemplate() и Debug::LogInfo().