This hook is called before message_hook/3
as below. This hook appeared in 9.3.34. It allows to associate
side-effects with messages in a reliable way by decoupling printing (or
reporting some other way) from associated side effects. See also broadcast/1
from library library(broadcast).