Return Name of a Function
Visual Basic
2
Posts
1
Posters
0
Views
1
Watching
-
I'm trying to log errors to a log file and I want to write the name of the function/sub where the error message occurs to the text file. eg
private sub DoOperation() . . . if errorOccured then LogError(subName) end if end sub
is this possible? I'm using VB.NET writing an ASP.NET Application with .NET 2.0 (VS2005)Jason
-
I'm trying to log errors to a log file and I want to write the name of the function/sub where the error message occurs to the text file. eg
private sub DoOperation() . . . if errorOccured then LogError(subName) end if end sub
is this possible? I'm using VB.NET writing an ASP.NET Application with .NET 2.0 (VS2005)Jason