Enhanced debug logging for Unity, with JSON export and HTML viewer. Read the blog post. See the demo.
This project has a few goals:
- Output Unity debug info to log files
- A nice web interface to view the logs
- HTML5
- No external dependencies
- Searchable via message, stacktrace, timestamp, logtype
- Filterable by logtype
- Be able to drop it into existing projects
- Import the latest release's package into your project
- Move the prefab
Unity File Debug
into your scene - Setup the filepath and settings in the inspector
- Copy the HTML to your output path via inspector button
- Use
Debug.Log
as normal, or for more advanced usage see Tester script inDemo
folder - Open the
index.html
file from your log folder, browse for a*.json
log in the top left
- Fork/clone this repository
- Open in Unity
- Hack away
In the Unity Editor, click the menu option Package/Update Package
. The UnityFileDebug.unitypackage
will be in the root of this project.