config/log_rules.json in u3d-0.9.4 vs config/log_rules.json in u3d-1.0.0.rc1
- old
+ new
@@ -20,10 +20,33 @@
"UnityEngine",
"^\\n"
],
"type": "error"
},
+ "exception": {
+ "active": true,
+ "start_pattern": "[eE]xception.*: (?<message>.*)\\n",
+ "end_pattern": "Filename: (?:[\\w/:]+/(?<file>\\w+\\.\\w+))? Line: (?<line>-?\\d+)",
+ "start_message": false,
+ "end_message": "%{file}(line %{line}): %{message}",
+ "store_lines": false,
+ "ignore_lines": [
+ "UnityEditor",
+ "UnityEngine",
+ "^\\n"
+ ],
+ "type": "error"
+ },
+ "exception_report": {
+ "active": true,
+ "start_pattern": "^(?<message>.*threw exception\\.)\\n",
+ "end_pattern": "Filename: (?:[\\w/:]+/(?<file>\\w+\\.\\w+))? Line: (?<line>-?\\d+)",
+ "start_message": false,
+ "end_message": "%{file}(line %{line}): %{message}",
+ "store_lines": false,
+ "type": "error"
+ },
"log": {
"active": true,
"start_pattern": "UnityEngine\\.Debug:Log\\(Object\\)",
"fetch_first_line_not_matching": [
"UnityEngine\\.",
@@ -97,10 +120,16 @@
},
"batchmode_exit": {
"active": true,
"start_pattern": "Exiting batchmode successfully now!",
"type": "success"
+ },
+ "batchmode_abort": {
+ "active": true,
+ "start_pattern": "Aborting batchmode due to failure",
+ "end_pattern": ".*",
+ "type": "error"
}
}
},
"JENKINS": {
"active": true,
@@ -116,10 +145,10 @@
},
"INIT": {
"active": true,
"silent": false,
"comment": "Initialization on editor launch",
- "phase_start_pattern": "Initialize mono",
+ "phase_start_pattern": "(?:COMMAND LINE|Initialize mono)",
"rules": {
"mono_options": {
"active": true,
"start_pattern": "Using monoOptions -(?<options>.+)"
},