Create a Debug.Log() system similar to Console.WriteLine()

Is there already a tool available to use Unity’s Debug.Log() like the Console.WriteLine() class, or is it possible to write a class which uses the Console class but outputs to Unity’s debug window?

I hate having to do ("Blabla: " + var + "Blabla: " + var2…) instead of (“Blabla: {0}, Blabla: {1}” var1, var2).

If this isn’t possible then I’ll just be quiet and enjoy Debug.Log() for what it is :slight_smile:

Thx for your time guys,
Stephane

You can use
Debug.Log(string.Format(“Blah blah {0}, Blah blah {1}”, var1, var2));