Hi All
In my script, I can call on several functions. I have a logging function that is called by any of these functions. What I would like is some way of identifying which function I am using and pass this to the log function as some parameter.
Is there some built in command or way of return the name of the function I am using similar to basename for instance? The only solution I can see currently is to define a name within the function. I'm happy to do this if its the only way to go.
Rgds