# What am I doing wrong with message\_hook/3?

**URL:** <https://swi-prolog.discourse.group/t/what-am-i-doing-wrong-with-message-hook-3/4414>\
**Category:** Predicate\
**Created:** [September 10, 2021, 5:34pm UTC](https://swi-prolog.discourse.group/t/what-am-i-doing-wrong-with-message-hook-3/4414 "2021-09-10T17:34:20Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://swi-prolog.discourse.group/u/EricGT)\
**Post date:** [September 12, 2021, 1:06pm UTC](https://swi-prolog.discourse.group/t/what-am-i-doing-wrong-with-message-hook-3/4414/3 "2021-09-12T13:06:41Z")

</div>

While checking if message\_hook/3 captured certain events I started the following Wiki article for those with same/similar questions.

[Using message\_hook/3](https://swi-prolog.discourse.group/t/using-message-hook-3/4429)

HTH

---

_[View the full topic](https://swi-prolog.discourse.group/t/what-am-i-doing-wrong-with-message-hook-3/4414)._
