Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Example

This is an example configuration to analysis log file.

A screenshot of the sample extension.

Use the following configuration 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