Subject Printing messages

does Firebird (1.5) support something similar to Oracle's
dbms_output() or MS SQL Server's PRINT statement?

For those who don't know either of those features: they enable e.g. a
stored procedure/trigger to "print" messages during execution. MS SQL
Server's Query Analyzer displays those messages when a procedure is
executed. Very handy for debugging and logging. Postgres offers
something similar with the RAISE keyword.

In all cases these messages can be retrieved through JDBC after a call
to a procedure, and I'd like to do something similar with Firebird