Selecting the return value of an Oracle stored function that doesn't contain DML can be done by simply selecting the function:
select function_name() from dual;
If the function contains DML (in this case some inserts to log the arguments passed to the function), the above query is not...