I have created a custom logger method and fetching the Caller methods methodname and classname in runtime. Will this degrade framework performance? This is selenium framework and always there will be 1 thread accessing.
I tried with and without this method and dint see any issues
public void LogEntry(bool IsTakeScreenShot=false)
{
    var method=new StackTrace().GetFrame(1).GetMethod();
    var methodName = method.Name;
    var className = method.ReflectedType.Name;
    LogMessage(className, methodName, "Entry", IsTakeScreenShot);
}
