[Core.Utils.Log] now write debug and trace to the event log if the DEBUG compiler constant is set.