Having a LogNode type of Mendix document, which can be used only for log nodes.
See also https://forum.mendix.com/link/ideas/2446 and https://forum.mendix.com/link/ideas/2181.
Or the ability to use a “private constant” here (https://forum.mendix.com/link/ideas/2234).