Log pretty-printed listeners and mutation observers only for getEventListeners() return value (not if getEventListeners is used within an expression)