mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
convert log macros to cba versions (#4282)
* convert log macros to cba versions * Add changes to AB * remove obsolete macro
This commit is contained in:
@ -35,7 +35,7 @@ if ((_namespace getVariable [_uid, [-99999]]) select 0 < diag_tickTime) then {
|
||||
[_event, {
|
||||
// _eventName is defined on the function that calls the event
|
||||
#ifdef DEBUG_MODE_FULL
|
||||
ACE_LOGINFO_1("Clear cached variables on event: %1",_eventName);
|
||||
INFO_1("Clear cached variables on event: %1",_eventName);
|
||||
#endif
|
||||
// Get the list of caches to clear
|
||||
private _varName = format [QGVAR(clearCache_%1), _eventName];
|
||||
@ -54,9 +54,9 @@ if ((_namespace getVariable [_uid, [-99999]]) select 0 < diag_tickTime) then {
|
||||
};
|
||||
|
||||
#ifdef DEBUG_MODE_FULL
|
||||
ACE_LOGINFO_2("Calculated result: %1 %2",_namespace,_uid);
|
||||
INFO_2("Calculated result: %1 %2",_namespace,_uid);
|
||||
} else {
|
||||
ACE_LOGINFO_2("Cached result: %1 %2",_namespace,_uid);
|
||||
INFO_2("Cached result: %1 %2",_namespace,_uid);
|
||||
#endif
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user