Last active
August 29, 2015 13:57
-
-
Save sassembla/9366184 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ログの内容を流し込むとエディタ上に表示したりするやつ。 | |
defineFilter: { | |
"name": "unity", | |
"filters": [ | |
{ | |
// log line of error | |
"(.*)[(]([0-9].*?),.*[)]: error .*: (.*)": { | |
"injects": { | |
"groups[0]": "name", | |
"groups[1]": "line", | |
"groups[2]": "reason" | |
}, | |
"selectors": [ | |
{ | |
"showAtLog<-name, line, reason": { | |
"format": "ERROR: on [name]:[line] [reason]" | |
} | |
}, | |
{ | |
"appendRegion<-name, line, reason": { | |
"format": "\"ERROR: [reason]\"", | |
"condition": "keyword" | |
} | |
} | |
] | |
} | |
} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment