Prepare a record for handling. This method just returns the passed-in record. You may want to override this method if you need to do any custom marshalling or manipulation of the record before passing it to the handlers.
logging.handlers/QueueListener.prepare
QueueListener.prepare