mirror of
https://github.com/indig0fox/Arma3-AttendanceTracker.git/
synced 2025-12-08 01:41:49 -06:00
17 lines
292 B
Plaintext
17 lines
292 B
Plaintext
#include "..\script_mod.hpp"
|
|
|
|
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; |