Commit Graph

11 Commits

Author SHA1 Message Date
David Pierron de3e3df840 Enhanced the logging system while maintaining backward compatibility (through the use of the TUM.log function).
The new system defines specific functions:
- TUM.Logger.trace
- TUM.Logger.debug
- TUM.Logger.info
- TUM.Logger.warn
- TUM.Logger.error

These function can be passed any number of arguments additionnally to the message, and they'll safely format these arguments to be passed to `string.format`.

Example of use:
`TUM.Logger.trace("function  DCSEx.world.setUnitLifePercent(unitID=%s, life=%s)", unitID, life)`

Parameters are formatted based on their type (tables are fully printed for example),

This is a reduced port of the VEAF logging system, which has been used for years.
2025-08-01 23:03:27 +02:00
Ambroise Garel e20f6360b7 Added warning for missing autoexec.cfg 2025-07-26 22:46:06 +02:00
Ambroise Garel 80af8ef82c Moved wingmen contact management to wingmenContacts table 2025-07-26 20:23:25 +02:00
Ambroise Garel 3f9f07ade2 Checks wingman tasking every tick to make sure target is still alive 2025-07-26 19:45:00 +02:00
Ambroise Garel 86bb698167 Added TUM.wingmen.getContactsAsReportString function 2025-07-25 15:51:29 +02:00
Ambroise Garel 99582fee91 Split TUM.supportWingmen into TUM.wingmen, TUM.wingmenMenu and TUM.wingmenTasking 2025-07-25 15:24:04 +02:00
Ambroise Garel ddd1332454 Now removes AI aircraft on landing 2025-07-25 13:05:53 +02:00
Ambroise Garel cfcb772c17 Added TUM.mizCleaner table 2025-07-25 12:20:47 +02:00
Ambroise Garel 05812ba4e4 Added wingmen spontaneous contact reports 2025-07-25 11:55:01 +02:00
Ambroise Garel baa8d9160d Corrected typo in comment 2025-07-23 21:06:55 +02:00
Ambroise Garel edb28205cd Initial commit 2025-07-22 10:22:50 +02:00