Class PolicyDecisionLogger


  • public class PolicyDecisionLogger
    extends Object
    If enabled in the developer settings (and log levels), log each PolicyDecision (subject to restrictions). Some restrictions apply to the logger as a whole. Others apply to the particular policy or the particular decision.
    • Method Detail

      • log

        public void log​(Policy policy,
                        PolicyDecision pd)
        If the logger and the policy and the decision all pass the restrictions, write to the log. A null decision is treated as inconclusive.