public void Warn(string message, FeatureTypes featureType = FeatureTypes.Default, object[] args = null, string caller = "") { UnityEngine.Debug.LogWarning($"{featureType.ToString().ToUpper()} ({caller}) :: {message}; args: {JoinArgs(args)}"); }
public void Fatal(string message, FeatureTypes featureType = FeatureTypes.Default, object[] args = null, [CallerMemberName] string caller = "") { UnityEngine.Debug.LogError($"{featureType.ToString().ToUpper()} ({caller}) :: {message}; args: {JoinArgs(args)}"); // TODO: Add stacktrace }