Change from requiring logging to files to providing a hook for where to send the raw message content