Link to home
Start Free TrialLog in
Avatar of bassch
bassch

asked on

Get methodname at runtime

Hi Guys,

Does anyone know how to retrieve the name of a calling method? For example:

A -> Z
B -> Z
C -> Z

Different methods can call method Z, and Z likes to know the methodnames of the caller.

This is for a logging component i'm creating.
ASKER CERTIFIED SOLUTION
Avatar of robert_marquardt
robert_marquardt

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pnh73
pnh73

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept answer from robert_marquardt

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Paul (pnh73)
EE Cleanup Volunteer