Hey Jim!
The UD Tables have their own Adapter/ZBOs to write records. There are various posts here about why writing directly to the database is not a best practice.
Indeed! Here’s how some people have written to the EventLog:
BPM error checking popup usings & references help - ERP 10 - Epicor User Help Forum (epiusers.help)
Also, .NET has a pretty feature complete logging system.
And there is an ecosystem that adds automation to the logging so certain events can ping you or launch a fix program. Food for thought.