DEPRECATED.
См. определение в файле 3_Game/DayZ/tools/Debug.c строка 593
594 {
595 if (
g_Game == null || !LogManager.IsLogsEnable())
596 return string.Empty;
597
598 bool is_server_log = (
g_Game.IsServer() &&
g_Game.IsMultiplayer() );
599
600
601
602
604 string env = "Client";
605 string msg = string.Empty;
606
607 if ( is_server_log )
608 {
609 env = "Server";
610 }
611
612 msg =
string.
Format(
"%1 | %2 | %3 | %4 | %5 | %6 | %7", date, env, level, plugin, entity, label, message);
613
614 if ( is_server_log )
615 {
617
618#ifdef DIAG_DEVELOPER
619 Param1<string> msg_p = new Param1<string>(msg);
621#endif
622 }
623 else
624 {
626 }
627
628 return msg;
629 }
const CallID CALL_ID_SEND_LOG
Param CallMethod(CallID call_id, Param params)
static void SaveLog(string log_message)
static proto string Format(string fmt, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
Gets n-th character from string.
Перекрестные ссылки CALL_ID_SEND_LOG, CallMethod(), string::Empty, string::Format(), g_Game, GetDate(), LogManager::IsLogsEnable() и SaveLog().
Используется в ActionLog(), AutotestLog(), BaseBuildingLog(), BleedingChancesLog(), InventoryHFSMLog(), InventoryMoveLog(), InventoryReservationLog(), Log(), LogArrayInt(), LogArrayString(), LogError(), LogInfo(), LogWarning(), MeleeLog(), ParticleLog(), QuickbarLog(), RadioGameplayLog(), SymptomLog(), TFLog(), TriggerLog() и WeatherLog().