Unity3d Logs Viewer

         To use Reporter just create reporter from menu (Reporter->Create) at first scene your game start . then set the  ” Scrip execution order ” in (Edit -> Project Settings ) of Reporter.cs to be the highest. Congratulations you have finished setup of Log Viewer , no coding is required, now you can view all logs warnings errors and exception which was showing in unity3d editor console directly on game screen even after you release it to mobile , pc or any other platform, all what you have to do is to make a circle gesture using your mouse (click and drag) or your finger (touch and drag) on the screen to show all these logs, you will see something like this logs .

screenShot1

As you see most of functionality that are available for you in editor console are available to you in your game even if you release the game to any platform.
You can view clear collapse logs, also clear the logs once new scene is loaded , view fps and finally hide the logs to go back to your game, you can use scroller on the right for fast scrolling or scroll directly on log window which give you slow and big scroller so you can scroll normally even on small mobiles.

This asset include script for testing. just drop TestReporter script on any game object, this script will do 1000 logs + 1000 warnings + 1000 errors, you can adjust the Log Test Count to check the functionality of this asset, also note you can adjust it to huge number to check how this asset perform for stress loggings.

Let us talk now about reporter functionality, down you see the image of tool bar

screenShot3

This bar is scrollable so you can view all button on small screen.

clear   Button  to clear all logs.

collapse   Toggle button  to collapse logs.

clearOnNewScene   Toggle button  to clear Logs if new scene is loaded.

time   Toggle button to show or hide time beside each logs , time represent time since application start,  the number on the button show the current time.

scene   Toggle button to show or hide the scene name of each log, so you know which scene this log happened. the name on this button show the current scene name.

GCMem   Toggle button to show or hide GC memory of each log, so you know what is GC memory of application when this log happen, it could be useful in monitoring application memory. the number on button show the current GC memory.

fps   Toggle button to show or hide frame rate of each log, so you can know what is the frame rate when this log happened.

info

Button to show system information. contains many useful information about system and application. like from which pc this build is done and in which date. this is very useful during game testing to confirm this is up to date build from proper pc.

note also information window are scrollable so you can view all information in small screen mobiles.

screenShot2

 

log   Toggle button to show or hide normal logs. number on button show normal logs count.

warning   Toggle button to show or hide warning logs. number on button show warning logs count.

error   Toggle button to show or hide error logs. number on button show error logs count.

 

 

Thanks for using Reporter and Hope you find this asset useful .

if you have any Issue please visit

https://github.com/aliessmael/Unity-Logs-Viewer