Add LogLine hook as per described in the updates to docs/hooks.txt