G
GruBByMaster
Hello
I'm trying to build a function that retrieves the file in scope,
meaning that i'm building a log and i want to write in it the curent
file the debug is in. For example if i have a file called myClass.cs
and a method GetTotal() i want to have :
WriteToLog(string.Format( Function that returns the name of the file
in scope + "GetTotal() returned {0}", GetTotal()); instead of
WriteToLog(string.Format("myClass.cs - GetTotal() returned {0}",
GetTotal());
Thanks
I'm trying to build a function that retrieves the file in scope,
meaning that i'm building a log and i want to write in it the curent
file the debug is in. For example if i have a file called myClass.cs
and a method GetTotal() i want to have :
WriteToLog(string.Format( Function that returns the name of the file
in scope + "GetTotal() returned {0}", GetTotal()); instead of
WriteToLog(string.Format("myClass.cs - GetTotal() returned {0}",
GetTotal());
Thanks