Exemplo n.º 1
0
 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)}");
 }
Exemplo n.º 2
0
 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
 }