/// <summary> /// 로그를 무조건 출력한다. 릴리즈 빌드에도 로깅이 되므로 가급적 사용을 자제할 것. /// </summary> public static void L(this ILoggable loggable, string str, params object[] args) { if (args.Length > 0) { UnityEngine.Debug.LogFormat(loggable.Prefix(str), str, args); } else { UnityEngine.Debug.Log(loggable.Prefix(str)); } }
public static void A(this ILoggable loggable, bool condition, string str, params object[] args) { UnityEngine.Debug.AssertFormat(condition, loggable.Prefix(str), args); }
public static void I(this ILoggable loggable, Func <string> makeStr) { UnityEngine.Debug.Log(loggable.Prefix(makeStr())); }