Log
How to do logs in Console
You still can call Debug.Log() or print()
Also you can use TIM.Console.Log()
Here is an example:
TIM.Console.Log("Game started");
Also you can change the MessageType of your message:

Logchain
Example
You are downloading an image from Internet in 3 stages:
Web request
Downloading
Converting downloaded data to Texture2D
You can group all these messages into one Logchain. Just give it name.
For example: "Image downloading". Here is how you can print a message:
So how our method can look like:
Lets try it!
Execute our coroutine by StartCoroutine() method. And paste image URL as argument.
Open console by ` and you can see that messages are displayed in Console window and in Logchain window as well

Hidden messages
Lets take our last example with downloading image. If we will download images many times we will have many messages in Console. But we can organize it better! We can hide logs in Console but keep them visible in Logchain window. You just need to set last argument hidden of TIM.Console.Log() function to true:
And how our function looks like now:
What we will see in Console:

You can enable visibility of hidden messages by clicking this button:

Toggle it and what you can see now:

Last updated