There are large log types, they were unchecked for performance. Things may take seconds to compute
327 |
328 |
336 |
337 |
338 |
339 |
340 |
Welcome to Unity File Debug Viewer
341 |
To start, load an exported .csv, .tsv, .json in the top left
342 |
Note: thousands of logs can result in this page taking seconds to compute
343 |
344 |
345 |
346 |
729 |
730 |
--------------------------------------------------------------------------------
/Assets/UnityFileDebug/Lib/Viewer/UnityFileDebugViewer.html.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 646f265711031ed47bc4cfd3cd374bff
3 | timeCreated: 1457229943
4 | licenseType: Free
5 | TextScriptImporter:
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/UnityFileDebug/README.txt:
--------------------------------------------------------------------------------
1 | ********************************
2 | ********** HOW TO USE **********
3 | ********************************
4 |
5 | 1. Move the prefab Unity File Debug into your scene
6 | 2. Setup the file name, type, and path settings in the inspector. Do not include an extension on the name.
7 | 3. Copy the HTML to your output path via inspector button
8 | 4. Use Debug.Log as normal, or for more advanced usage see Tester script in Demo folder
9 | 5. Open the UnityFileDebugViewer.html file from your log folder, browse for a log file in the top left
10 |
11 | If you don't specify an absolute filepath, Application.persistentDataPath will be used.
12 |
13 | HTML viewer is designed for modern browsers (chrome/firefox)
14 |
15 | See the Readme on GitHub for more information
16 | https://github.com/Sacred-Seed-Studio/Unity-File-Debug/blob/master/README.md
17 |
18 | *********************************
19 |
20 | Unity File Debugger
21 | MIT Licensed
22 |
23 | Source: https://github.com/Sacred-Seed-Studio/Unity-File-Debug
24 | Bugs / Feature Requests: https://github.com/Sacred-Seed-Studio/Unity-File-Debug/issues
25 |
--------------------------------------------------------------------------------
/Assets/UnityFileDebug/README.txt.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f142232f242d65f469ce7968bd971a23
3 | timeCreated: 1457282080
4 | licenseType: Free
5 | TextScriptImporter:
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 Sacred Seed Studio
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/ProjectSettings/AudioManager.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Sacred-Seed-Studio/Unity-File-Debug/0e390c3b2393d5c47d9bddc03f37916098776289/ProjectSettings/AudioManager.asset
--------------------------------------------------------------------------------
/ProjectSettings/ClusterInputManager.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Sacred-Seed-Studio/Unity-File-Debug/0e390c3b2393d5c47d9bddc03f37916098776289/ProjectSettings/ClusterInputManager.asset
--------------------------------------------------------------------------------
/ProjectSettings/DynamicsManager.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Sacred-Seed-Studio/Unity-File-Debug/0e390c3b2393d5c47d9bddc03f37916098776289/ProjectSettings/DynamicsManager.asset
--------------------------------------------------------------------------------
/ProjectSettings/EditorBuildSettings.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Sacred-Seed-Studio/Unity-File-Debug/0e390c3b2393d5c47d9bddc03f37916098776289/ProjectSettings/EditorBuildSettings.asset
--------------------------------------------------------------------------------
/ProjectSettings/EditorSettings.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Sacred-Seed-Studio/Unity-File-Debug/0e390c3b2393d5c47d9bddc03f37916098776289/ProjectSettings/EditorSettings.asset
--------------------------------------------------------------------------------
/ProjectSettings/GraphicsSettings.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Sacred-Seed-Studio/Unity-File-Debug/0e390c3b2393d5c47d9bddc03f37916098776289/ProjectSettings/GraphicsSettings.asset
--------------------------------------------------------------------------------
/ProjectSettings/InputManager.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Sacred-Seed-Studio/Unity-File-Debug/0e390c3b2393d5c47d9bddc03f37916098776289/ProjectSettings/InputManager.asset
--------------------------------------------------------------------------------
/ProjectSettings/NavMeshAreas.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Sacred-Seed-Studio/Unity-File-Debug/0e390c3b2393d5c47d9bddc03f37916098776289/ProjectSettings/NavMeshAreas.asset
--------------------------------------------------------------------------------
/ProjectSettings/NetworkManager.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Sacred-Seed-Studio/Unity-File-Debug/0e390c3b2393d5c47d9bddc03f37916098776289/ProjectSettings/NetworkManager.asset
--------------------------------------------------------------------------------
/ProjectSettings/Physics2DSettings.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Sacred-Seed-Studio/Unity-File-Debug/0e390c3b2393d5c47d9bddc03f37916098776289/ProjectSettings/Physics2DSettings.asset
--------------------------------------------------------------------------------
/ProjectSettings/ProjectSettings.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Sacred-Seed-Studio/Unity-File-Debug/0e390c3b2393d5c47d9bddc03f37916098776289/ProjectSettings/ProjectSettings.asset
--------------------------------------------------------------------------------
/ProjectSettings/ProjectVersion.txt:
--------------------------------------------------------------------------------
1 | m_EditorVersion: 2017.4.3f1
2 |
--------------------------------------------------------------------------------
/ProjectSettings/QualitySettings.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Sacred-Seed-Studio/Unity-File-Debug/0e390c3b2393d5c47d9bddc03f37916098776289/ProjectSettings/QualitySettings.asset
--------------------------------------------------------------------------------
/ProjectSettings/TagManager.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Sacred-Seed-Studio/Unity-File-Debug/0e390c3b2393d5c47d9bddc03f37916098776289/ProjectSettings/TagManager.asset
--------------------------------------------------------------------------------
/ProjectSettings/TimeManager.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Sacred-Seed-Studio/Unity-File-Debug/0e390c3b2393d5c47d9bddc03f37916098776289/ProjectSettings/TimeManager.asset
--------------------------------------------------------------------------------
/ProjectSettings/UnityConnectSettings.asset:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Sacred-Seed-Studio/Unity-File-Debug/0e390c3b2393d5c47d9bddc03f37916098776289/ProjectSettings/UnityConnectSettings.asset
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Unity-File-Debug
2 | ![Unity Version][unity-badge]
3 | [![Platform][platform-badge]][repo]
4 | [![GitHub license][license-badge]][license]
5 | [![GitHub release][version-badge]][releases]
6 | [![GitHub issues][issues-badge]][issues]
7 | [![Pull Requests][pr-badge]][pulls]
8 |
9 | Enhanced debug logging for Unity, with file export and HTML viewer.
10 | - [Read the blog post](http://www.sacredseedstudio.com/blog/2016/06/05/Output-the-Unity-console-to-file)
11 | - [See the demo](http://www.sacredseedstudio.com/Unity-File-Debug/)
12 | - [Unity Asset Store](https://assetstore.unity.com/packages/tools/utilities/unity-file-debug-72250)
13 |
14 | ## Why
15 | - Output Unity debug info to log files (csv, tsv, json, txt)
16 | - A nice web interface to view the log files (csv, tsv, json)
17 | - HTML5 (single file)
18 | - No external dependencies
19 | - Searchable via message, stacktrace, timestamp, logtype
20 | - Filterable by logtype
21 | - Be able to drop it into existing projects
22 |
23 | ## How to use
24 | 1. Import the [latest release's package](https://github.com/Sacred-Seed-Studio/Unity-File-Debug/releases) into your project
25 | 2. Move the prefab `Unity File Debug` into your scene
26 | 3. Setup the filepath and settings in the inspector
27 | 4. Copy the HTML to your output path via inspector button
28 | 5. Use `Debug.Log` as normal, or for more advanced usage see [Tester](/Assets/UnityFileDebug/Demo/Tester.cs) script in `Demo` folder
29 | 6. Open the `UnityFileDebugViewer.html` file from your log folder, browse for a log file from the top left
30 |
31 | If you don't specify an absolute filepath, Application.persistentDataPath will be used.
32 |
33 | HTML viewer is designed for modern browsers (chrome/firefox)
34 |
35 | ## Developing
36 | - Fork/clone this repository
37 | - Open in Unity
38 | - Hack away
39 |
40 | ## How to Customize
41 | ### Custom log types
42 | 1. Change DLogType enumeration in [DebugWrapper.cs](/Assets/UnityFileDebug/Lib/Logger/Scripts/DebugWrapper.cs)
43 | 2. Update `topLogTypes` and `nestedLogTypes` arrays in [UnityFileDebugViewer.html](/Assets/UnityFileDebug/Lib/Viewer/UnityFileDebugViewer.html)
44 | 3. Update `LogTypeColors` css in [UnityFileDebugViewer.html](/Assets/UnityFileDebug/Lib/Viewer/UnityFileDebugViewer.html)
45 | 4. Update svg icons in [UnityFileDebugViewer.html](/Assets/UnityFileDebug/Lib/Viewer/UnityFileDebugViewer.html)
46 |
47 | ### No nesting in viewer
48 | 1. Move all elements from `nestedLogTypes` array to `topLogTypes` in [UnityFileDebugViewer.html](/Assets/UnityFileDebug/Lib/Viewer/UnityFileDebugViewer.cs)
49 |
50 | ### Using other log sources
51 | The viewer supports a few different file formats
52 |
53 | ##### JSON format:
54 | ```js
55 | {
56 | t: '', // type
57 | tm: '', // time
58 | l: '', // log message
59 | s: '', // log stack trace
60 | }
61 | ```
62 |
63 | ##### CSV header:
64 | `type,time,log,stack`
65 |
66 | ##### TSV header:
67 | `type time log stack`
68 |
69 | ---
70 |
71 | ## Release
72 | 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.
73 |
74 |
77 | [version-badge]:https://img.shields.io/github/release/Sacred-Seed-Studio/Unity-File-Debug.svg
78 | [platform-badge]:https://img.shields.io/badge/platform-All-blue.svg
79 | [issues-badge]:https://img.shields.io/github/issues/Sacred-Seed-Studio/Unity-File-Debug.svg
80 | [license-badge]:https://img.shields.io/github/license/Sacred-Seed-Studio/Unity-File-Debug.svg
81 | [unity-badge]:https://img.shields.io/badge/Unity-5.4+-blue.svg
82 | [pr-badge]:https://img.shields.io/github/issues-pr/Sacred-Seed-Studio/Unity-File-Debug.svg
83 |
84 |
87 | [releases]:https://github.com/Sacred-Seed-Studio/Unity-File-Debug/releases
88 | [repo]:https://github.com/Sacred-Seed-Studio/Unity-File-Debug
89 | [issues]:https://github.com/Sacred-Seed-Studio/Unity-File-Debug/issues
90 | [license]:https://github.com/Sacred-Seed-Studio/Unity-File-Debug/blob/master/LICENSE
91 | [pulls]:https://github.com/Sacred-Seed-Studio/Unity-File-Debug/pulls
92 |
--------------------------------------------------------------------------------
/UnityPackageManager/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "dependencies": {
3 | }
4 | }
5 |
--------------------------------------------------------------------------------