activelogic-cs icon indicating copy to clipboard operation
activelogic-cs copied to clipboard

Automate logging

Open eelstork opened this issue 4 years ago • 0 comments

Currently AL provides logging and visual history via the logging API. This requires manually annotating client source.

Manual annotations have advantages. Relevant information may be included, such as measurements, time related and motivating emitted statuses; because of that, even if an automation is provided, some features from the current logging API would carry over.

Additionally, automation requires IL instrumenting.

Overall this is a relatively expensive feature to build into AL. Have relevant experience (via ProLog) but no plans to introduce this unless demand is sufficient and/or sponsorships cover the cost.

In the medium term (1-3 years), logging via IL instrumenting might help lean the AL library itself, however the features backing the logging API would eventually get repurposed (because recording allows agents to recall prior actions, a feature that is useful beyond debugging) so the significant overhead/complexity of the logging API (meaning internally) is probably not going away.

eelstork avatar Nov 26 '20 15:11 eelstork