Make method log() static.
Do only register for known HOOKs. Report the other ones.