Files
Arma3-AttendanceTracker/addons/main/functions/fn_log.sqf
IndigoFox 29228bd192 add hemtt support, major refactor
- no longer supports server events
- can now more easily build using hemtt
- extension vastly improved in both structure and functionality
- tested on listen server
- includes schema change
2023-09-20 01:15:13 -07:00

15 lines
262 B
Plaintext

params [
["_message", "", [""]],
["_level", "INFO", [""]],
"_function"
];
if (isNil "_message") exitWith {false};
if (
missionNamespace getVariable ["ATDebug", true] &&
_level != "WARN" && _level != "ERROR"
) exitWith {};
LOG_SYS(_level, _message);
true;