This is an example configuration to analysis log file.
theme.json:
{
"highlight": {
"error_info_1": {
"regex": "\\[error\\]",
"theme": "error_format",
"tilEnd": true
}
},
"panel": [
"error_info_1"
],
"jump": [
"error_info_1"
]
}
color.json:
{
"error_format": {
"foreground": "#ff0000",
"italic": true,
"bold": true,
"underline": true
}
}
Then open a log file with the following content:
[info] This is an info message
[warning] This is a warning message
[error] This is an error message