Enhanced debug logging for Unity, with file export and HTML viewer.
Unity File Debug
into your sceneDebug.Log
as normal, or for more advanced usage see Tester script in Demo
folderUnityFileDebugViewer.html
file from your log folder, browse for a log file from the top leftIf you don't specify an absolute filepath, Application.persistentDataPath will be used.
HTML viewer is designed for modern browsers (chrome/firefox)
topLogTypes
and nestedLogTypes
arrays in UnityFileDebugViewer.htmlLogTypeColors
css in UnityFileDebugViewer.htmlnestedLogTypes
array to topLogTypes
in UnityFileDebugViewer.htmlThe viewer supports a few different file formats
{
t: '', // type
tm: '', // time
l: '', // log message
s: '', // log stack trace
}
type,time,log,stack
type time log stack
In the Unity Editor, click the menu option SSS/Util/Package/Unity File Debug
. The UnityFileDebug.unitypackage
will be in the root of this project.