[Validator] Add deprecated logs on addViolation() and addViolationAt() methods.