Capture the message passed in to the logger