Logs CSP violations through a logger