Do we want to integrate the debug log record type with the session->log_printf API?