The DBMS Output View dialog displays all the DBMS_OUTPUT messages.
The display can be processed and exported to a file.