From ae77b2f8a0d27e9e79d44ac445fd2cad6f6abf3e Mon Sep 17 00:00:00 2001 From: eraser1 Date: Fri, 14 Jul 2017 17:08:27 -0500 Subject: [PATCH] Because people don't always have infiStar.. --- @ExileServer/addons/a3_dms/scripts/fn_DebugLog.sqf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/@ExileServer/addons/a3_dms/scripts/fn_DebugLog.sqf b/@ExileServer/addons/a3_dms/scripts/fn_DebugLog.sqf index 9f99a0b..3a16641 100644 --- a/@ExileServer/addons/a3_dms/scripts/fn_DebugLog.sqf +++ b/@ExileServer/addons/a3_dms/scripts/fn_DebugLog.sqf @@ -10,9 +10,13 @@ */ _this = format ['%1 |::|::| (DMS_Version: "%4" | time: %2 | diag_tickTime: %5 | %3 FPS)',_this,time,diag_fps,DMS_Version,diag_tickTime]; -['DMS_DEBUG',_this] call FNC_A3_CUSTOMLOG; diag_log format ["DMS_DEBUG :: %1",_this]; +if (!isNil "FNC_A3_CUSTOMLOG") then // infiSTAR logging +{ + ['DMS_DEBUG',_this] call FNC_A3_CUSTOMLOG; +}; + if (!isNil "MAR_fnc_log") then // mARMA logging { [_this,"info"] call MAR_fnc_log;