A lawyer is an officer of the court. He answers to the legal system, and must follow their rules.
I'm going to answer from the Catholic perspective on the religious side, because that's what I know.
A Catholic priest's rules are from God, and are distinctly above whatever the local laws say.
Confession is a sacrament of the Catholic Church. Priests do not have a blanket obligation to report crimes to police, in fact they are violating the sacrament if they repeat anything they have heard in confession to anyone. That is a sin for them to do so. I'm sure there are times where they must make the decision to violate that sacred trust, but those are few and far between.
At least that is my understanding, but it has been a long time since catechism class.
Thanks for your reply. My thinking is what Yashua said about rendering unto Caesar what is Caesar’s and unto G-d what is G-d. When a person commits a horrendous crime and confesses to a priest to me the obligation is for the priest to report it. I understand about how does a priest differentiate between crimes. I’ve not read anywhere in the NT where such confessions are sacred. Just my opinion.