I am creating a logging app on steroids. Is there a way to pass to my logging sub the name of the subroutine that is issuing the logging call.
sub logger(routinename as string, data as string)
do stuff
end sub
Sub Jump
logger(???,"we are doing stuff"")
end sub
in place of the ??? i would like to auto pass the name of the calling routine in this case "Jump"
thanks
Brad
sub logger(routinename as string, data as string)
do stuff
end sub
Sub Jump
logger(???,"we are doing stuff"")
end sub
in place of the ??? i would like to auto pass the name of the calling routine in this case "Jump"
thanks
Brad