Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>VSCode Log Analysis extensionNew to Visual Studio Code? Get it now.
VSCode Log Analysis extension

VSCode Log Analysis extension

JackBoosY

|
136 installs
| (0) | Free
help to analysis and debug log quickly and easily
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode log extension

Atomatic log analysis by rule file.

This extension is more like a third-party extension, you can modify the source code to implement the code jump function (click to the error line and press CTRL/Command + X).

This plugin will:

  • Match log content using fixed rules
  • Modify the font and color of the matched content
  • Collect error content and display it on the VSCode panel
  • Click the error message on the panel to jump to the relevant line in the log file
  • Redirect the error content corresponding to the source file version and jump to the corresponding line number of the source file

Rule file:

color.json

Describe the matched content font and color

{
  "type_1": {
    "foreground": "#ff0000", // Required: content color
    "italic": true, // Optional: italic
    "bold": true, // Optional: bold
    "underline": true // Optional: underline
  }
  ...
}

regex.json

Match log content by regex

{
  "highlight": {
    "content_type_which_you_describe": {
        "regex": "", // Required: typescript / javascript Regex string
        "theme": "type_1", // Required: corresponding to item in color.json
        "char": "", // Optional: Cut matched content, corresponding to regex
        "offset": "", // Optional: Match the content len + offset
        "tilEnd": true // Optional: Match the content from start to end in this line
    }
    ...
  },
  "hidden": [
    "hidden_error_1",
    "hidden_error_2",
    ...
  ],
  "panel": [
    "content_type_which_you_describe" // save the matched regex content to VSCode panel
    ...
  ],
  "jump": [
    "content_type_which_you_describe" // This matched regex content contains related source file and line number, will automatic jump to source file
    ...
  ]
}

Example:

Example

Requirements

  • VSCode >= 1.76.0
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft