Gamedev friends, do you format/prettify your console logs in-engine? If so, how do they look like?
I tend to add a [INFO]/[WARNING]/[ERROR] tag and customize their color, I like them better that way (and they're not part of the build, of course).
I tend to add a [INFO]/[WARNING]/[ERROR] tag and customize their color, I like them better that way (and they're not part of the build, of course).
Comments
Never used Assert before, I just checked the documentation, sounds like something useful for unit testing am I right?
I mostly use it in Awake/Start to check if all references and setup is there and with sensible values.
I was looking at this one haha: https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Assertions.Assert.html
Passing the class names in the logs is a good idea!
Here it is in-engine when I make them spawn, so as you can see they do use Log, LogWarning and LogError, and I feel they're more convenient to read (but that's personal taste)!