How to log input parameters inside a database function?

I have a database function that takes two input parameters.

I want to log whatever the users inputs to that function? How do I do that?
Was this page helpful?