Skip to content

Commit

Permalink
Accept log format as valid pattern to start log rules
Browse files Browse the repository at this point in the history
  • Loading branch information
niezbop committed Mar 26, 2018
1 parent 8b1b32f commit 512513a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/log_rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
},
"log": {
"active": true,
"start_pattern": "UnityEngine\\.Debug:Log\\(Object\\)",
"start_pattern": "UnityEngine\\.Debug:Log(?:Format)?\\((?:String, )?Object(?:\\[\\])?\\)",
"fetch_first_line_not_matching": [
"UnityEngine\\.",
"^\\n"
Expand All @@ -66,7 +66,7 @@
},
"log_assertion": {
"active": true,
"start_pattern": "UnityEngine\\.Debug:LogAssertion\\(Object\\)",
"start_pattern": "UnityEngine\\.Debug:LogAssertion(?:Format)?\\((?:String, )?Object(?:\\[\\])?\\)",
"fetch_first_line_not_matching": [
"UnityEngine\\.",
"^\\n"
Expand All @@ -80,7 +80,7 @@
},
"log_warning": {
"active": true,
"start_pattern": "UnityEngine\\.Debug:LogWarning\\(Object\\)",
"start_pattern": "UnityEngine\\.Debug:LogWarning(?:Format)?\\((?:String, )?Object(?:\\[\\])?\\)",
"fetch_first_line_not_matching": [
"UnityEngine\\.",
"^\\n",
Expand All @@ -95,7 +95,7 @@
},
"log_error": {
"active": true,
"start_pattern": "UnityEngine\\.Debug:LogError\\(Object\\)",
"start_pattern": "UnityEngine\\.Debug:LogError(?:Format)?\\((?:String, )?Object(?:\\[\\])?\\)",
"fetch_first_line_not_matching": [
"UnityEngine\\.",
"^\\n",
Expand Down

0 comments on commit 512513a

Please sign in to comment.