When a hook is executed from an app, log the name of the hook.