How to get the string from Debug.Log()?

How to get the string from Debug.Log()? Can i get it??

I know the thread is old. But since it showed up on my results when looking for how to get any logged string…

You can subscribe a delegate to Application.logMessageReceived

Use this script from the wiki instead of Debug.Log(): http://wiki.unity3d.com/index.php/DebugConsole

Also, this question probably already answers yours: Debug Console in Standalone? - Questions & Answers - Unity Discussions

Use this delegate type with Application.logMessageReceived or Application.logMessageReceivedThreaded to monitor what gets logged.

Menu Window → Console.