how do I get the class name of the calling class while in the called class's method?
I'm seeking to put this name in a new log message based upon some validation results that will be performed in the called method. I cannot change the interface easily so I am trying to figure out how to determine the calling class's name inside of the called class.
Anyone ever done this? (I've searched around a bit and basically, it appears not do-able but I figured I would check here.) Any advise?
I'm seeking to put this name in a new log message based upon some validation results that will be performed in the called method. I cannot change the interface easily so I am trying to figure out how to determine the calling class's name inside of the called class.
Anyone ever done this? (I've searched around a bit and basically, it appears not do-able but I figured I would check here.) Any advise?