It has never been used, and is only ever used in tests.
Validation failures raise an exception, which can be logged properly if required. Systems where validation happen automatically without human intervention should be storing logs anyway.
It's probably safe to drop this.