bug fixes, 3 table split, update readme

This commit is contained in:
2023-06-14 09:59:45 -07:00
parent 7608df9e53
commit f6ff42e467
22 changed files with 129 additions and 77 deletions

View File

@@ -0,0 +1,21 @@
params [
["_message", "", [""]],
["_level", "INFO", [""]],
"_function"
];
if (isNil "_message") exitWith {false};
if (
missionNamespace getVariable ["AttendanceTracker_debug", false] &&
_level == "DEBUG"
) exitWith {};
"AttendanceTracker" callExtension ["log", [_level, _message]];
if (!isNil "_function") then {
diag_log formatText["[AttendanceTracker] (%1): <%2> %3", _level, _function, _message];
} else {
diag_log formatText["[AttendanceTracker] (%1): %2", _level, _message];
};
true;