I want to dynamically get the name of the current stored procedure inside itself for logging purposes.
Try this:
OBJECT_NAME(@@PROCID)
Thanks very usefull for debugging !!!