public static T Log <T>(this T obj) { if (!_openDebug) { return(obj); } _logComponent?.Log(obj); return(obj); }