Spool file creation

Hi Team

do we have any way to capture DML spool outputs  and prompt outputs (like 3 rows inserted, 4 rows updated) using liquibase?