mirror of
https://github.com/indig0fox/Arma3-AttendanceTracker.git/
synced 2025-12-08 09:51:47 -06:00
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
This commit is contained in:
15
addons/main/functions/fn_log.sqf
Normal file
15
addons/main/functions/fn_log.sqf
Normal file
@@ -0,0 +1,15 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user