- Home /
Question by
AshwaniKumar · Mar 27, 2013 at 07:52 AM ·
androidlog
Changing the default tag in Debug.Log for Unity 3D
In order to debug the code for android tags are very helpful to filters the logs on the basis of tags. In Unity 3d when we use
Debug.Log
By defaults all logs have Unity as tag, is there any way to change this default tag?
Comment
Answer by Yvgen · Apr 07, 2016 at 01:55 PM
You should use http://docs.unity3d.com/ScriptReference/Debug-logger.html Debug.logger.Log(kTAG, "World");