Quantcast
Channel: Questions in topic: "log"
Viewing all articles
Browse latest Browse all 235

Less verbose Debug.Log ( Xcode )

$
0
0
Is there a way to make the Debug.Log less verbose in the output window when running a Unity project in Xcode? I am using Unity 5 with il2cpp and for every Debug.Log statement in my code I get 8 lines on top of what I am printing (including blank lines). This makes it very difficult to sift through the console output when troubleshooting. For example: "x,y is 150,75 Replacements.MSCompatUnicodeTable:get_IsReady() UnityEngine.Debug:Internal_Log(Int32, String, Object) UnityEngine.Debug:Log(Object) ScreenWorldMap:Start() Replacements.MSCompatUnicodeTable:get_IsReady() (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebug.gen.cpp Line: 56)" Is there any way to have Unity only print the message and not any of the extraneous information? In particular, the UnityEngineDebug and Replacements lines are not terribly useful as I already know the message is coming from Debug.Log. Ideally, I'd get down to this: "x,y is 150,75" Or "x,y is 150,75 ScreenWorldMap:Start() " Thanks.

Viewing all articles
Browse latest Browse all 235

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>