class and rutine source

  • Thread starter Thread starter hansiman
  • Start date Start date
H

hansiman

I have a event handler takes Class:sub/function as a param for easy
id:

LogError(ex, "Class:Sub")

My problem is that I have to hard code Class:Sub on every call.

Is it possible to have the code send the "current" class and current
sub generically. Something like:

LogError(ex this.class.current.sub)?

/M
 
Back
Top