config/log_rules.json in u3d-1.0.1 vs config/log_rules.json in u3d-1.0.2
- old
+ new
@@ -22,14 +22,14 @@
],
"type": "error"
},
"exception": {
"active": true,
- "start_pattern": "[eE]xception.*: (?<message>.*)\\n",
- "end_pattern": "Filename: (?:[\\w/:]+/(?<file>\\w+\\.\\w+))? Line: (?<line>-?\\d+)",
+ "start_pattern": "[eE]xception\\w*: (?<message>.*)\\n",
+ "end_pattern": "(?:Filename: (?:[\\w/:]+/(?<file>\\w+\\.\\w+))? Line: (?<line>-?\\d+)|(?<fileunknown>filename unknown)>:(?<lineunknown>-?\\d+))",
"start_message": false,
- "end_message": "%{file}(line %{line}): %{message}",
+ "end_message": "%{file}%{fileunknown}(line %{line}%{lineunknown}): %{message}",
"store_lines": false,
"ignore_lines": [
"UnityEditor",
"UnityEngine",
"^\\n"
@@ -43,10 +43,16 @@
"start_message": false,
"end_message": "%{file}(line %{line}): %{message}",
"store_lines": false,
"type": "error"
},
+ "error_shared_library": {
+ "active": true,
+ "start_pattern": "error while loading shared libraries: (?<message>.*)\\n",
+ "start_message": "Error while loading shared libraries: %{message}",
+ "type": "error"
+ },
"log": {
"active": true,
"start_pattern": "UnityEngine\\.Debug:Log\\(Object\\)",
"fetch_first_line_not_matching": [
"UnityEngine\\.",
@@ -183,16 +189,16 @@
},
"COMPILER": {
"active": true,
"silent": false,
"comment": "Compiling phase",
- "phase_start_pattern": "- starting compile",
+ "phase_start_pattern": "- [sS]tarting compile",
"phase_end_pattern": "- Finished compile",
"rules": {
"target": {
"active": true,
- "start_pattern": "- starting compile (?<path>.+), for buildtarget (?<target>.+)",
- "start_message": "Target: %{path} (buildtarget %{target})"
+ "start_pattern": "- [sS]tarting compile (?<path>.+)(?<target>, for buildtarget .+)?",
+ "start_message": "Starting compile: %{path} %{target}"
},
"finished": {
"active": true,
"start_pattern": "- Finished compile (?<path>.+)\\n",
"start_message": "Finished compilation for %{path}"