add a hook to allow Queues to define a pretty_printer for better logging

@dwoos