Created
July 26, 2020 16:06
-
-
Save logistic-bot/7c7e8328dc2ea44b085696faf3f496ff to your computer and use it in GitHub Desktop.
This file contains 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
{ | |
"unconstrained": { | |
"title": "Unconstrained self-modification", | |
"description": "Log format for the game unconstrained self-modification", | |
"regex": { | |
"basic": { | |
"pattern": "^(?<timestamp>.*) (?<level>(INFO|CRITICAL|DEBUG|ERROR)) (?<module>.*):(?<func>.*):(?<lineno>\\d+) | (?<m>.*)$" | |
} | |
}, | |
"level-field": "level", | |
"level": { | |
"debug": "DEBUG", | |
"info": "INFO", | |
"error": "ERROR", | |
"critical": "CRITICAL" | |
}, | |
"value": { | |
"module": { | |
"kind": "string", | |
"identifier": true | |
}, | |
"func": { | |
"kind": "string", | |
"identifier": false | |
}, | |
"line": { | |
"kind": "integer", | |
"identifier": false | |
}, | |
"m": { | |
"kind": "string", | |
"identifier": false | |
}, | |
"timestamp": { | |
"kind": "string", | |
"hidden": true | |
}, | |
"level": { | |
"kind": "string", | |
"identifier": false | |
} | |
}, | |
"highlights": { | |
"module": { | |
"color": "Blue", | |
"background-color": "Black" | |
} | |
}, | |
"sample": [ | |
{ | |
"line": "2020-07-26 17:05:11,675 CRITICAL src.core.engine:start:65 | KeyboardInterrupt", | |
"level": "critical" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment