C
Cuperman
Hi All,
Is it possible to retrieve parameters from a function automatically,
to send to a log writing assembly? Something like:
Public Function myFunc(Param1 as String, Param2 as integer) as Boolean
WriteLogEntry(myFunc.Name & " " & myFunc.Parameters.Tostring)
'myFunc logic
Dim areWeStuck as Boolean = True
Return areWeStuck
End Function
I don't want to hard code the details as i want to get more
reusability
Thanks,
Mark
Is it possible to retrieve parameters from a function automatically,
to send to a log writing assembly? Something like:
Public Function myFunc(Param1 as String, Param2 as integer) as Boolean
WriteLogEntry(myFunc.Name & " " & myFunc.Parameters.Tostring)
'myFunc logic
Dim areWeStuck as Boolean = True
Return areWeStuck
End Function
I don't want to hard code the details as i want to get more
reusability
Thanks,
Mark