I am trying to make a Error Logging which has namespace info in it. but while I use static functions I can't get classes namespace (I can't use "this"). Any trick to handle this?
thank you in advance.
public class Test
{
public static string Tester()
{
try
{
//SOMETHING
}
catch (Exception ex)
{
Error.DP.LogAdd(!!NAMESPACE HERE!!, ex.Message);
}
}
}