Hi. I am trying to create a trace to actually trace to the free standing Submethod file name. I cannot find a function within the libraries that allow me to do this. All I find is a way to trace the main file in use. Can someone tell me how to do it (in Venus or HSL)?
1 Like
Hello @Dr_TL
Please see below snippet
TRACELEVEL::TraceAction(TRACE_LEVEL_RELEASE,TRACELEVEL::ACTION::START,GetFunctionName(),GetFileName(),"");
That should do the trick. You have to have he ASW.Global library installed and TraceLevel
Otherwise you can use the GetFileName and GetFunctionName and GetMethodName as your buildingblocks!
Happy to help!
1 Like