'log the procedure call messages into a table in postgress

I want the log the execution message of a running stored procedure into a table in postgress

--example: create or replace procedure ccc () language sql as $$

insert into table1 select * from table 2

$$

call ccc()

while calling the above procedure I get this text in message "CREATE PROCEDURE

Query returned successfully in 69 msec."

I want to insert this message into a table everytime I call the procedure pls assist.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source