Moco/ent 3494 (#25408)
Moco/ent 3494 (#25408)

* Added logging statements around DSC

Added logging statements to help diagnose failures in presenting
Data Sharing Consent views to learners who have not consented to
data sharing, but their enterprise requires it

ENT-3494

* Yet more logging statements around DSC

Added more logging statements to help diagnose failures in presenting
Data Sharing Consent views to learners who have not consented to
data sharing, but their enterprise requires it. These new logs provide
further detail into the call to the enterprise API to check for consent.

This changelist slightly changes the logic to determine if a consent
check is needed. The changes involve breaking out the conditions of the
iterated checks on the learner details to allow for more granular logging.

ENT-3494
edx/edx-platform,stvstnfrd/edx-platform,edx/edx-platform,eduNEXT/edunext-platform,angelapper/edx-platform,eduNEXT/edunext-platform,eduNEXT/edx-platform,EDUlib/edx-platform,eduNEXT/edx-platform,eduNEXT/edx-platform,edx/edx-platform,EDUlib/edx-platform,angelapper/edx-platform,arbrandes/edx-platform,edx/edx-platform,stvstnfrd/edx-platform,stvstnfrd/edx-platform,EDUlib/edx-platform,eduNEXT/edunext-platform,arbrandes/edx-platform,arbrandes/edx-platform,arbrandes/edx-platform,eduNEXT/edunext-platform,stvstnfrd/edx-platform,EDUlib/edx-platform,angelapper/edx-platform,eduNEXT/edx-platform,angelapper/edx-platform