Today we are excited to announce the official release of the LogLens extension for Visual Studio Code. This brings the power of our high-performance Rust engine directly into the world's most popular code editor.
For too long, developers have relied on "Cmd+F" and Regex to debug logs inside VS Code. It’s tedious, error-prone, and slow. We built this extension to solve that problem. It transforms VS Code into a structured log analyzer.
What's Included?
1. Intelligent Syntax Highlighting
The moment you open a .log or .logfmt file, LogLens automatically parses and highlights critical information. Log levels (ERROR, WARN), timestamps, and JSON keys pop out visually, making it easier to scan massive files.
2. Structured Querying (No Regex Needed)
Instead of writing complex Regular Expressions to find specific errors, you can now use the LogLens SQL-like syntax directly from the Command Palette.
Just run LogLens: Query Lines and type:
level == "error" && duration > 500
LogLens will filter the file instantly and open a new virtual document containing only the matching lines, keeping your original log file safe.
3. Integrated Live Watch (Pro)
For Pro users, we’ve integrated the watch command. You can now tail logs in real-time inside the VS Code Output panel, applying filters as new lines arrive.
How to Install
You can install it directly from the Visual Studio Marketplace:
Or, run this command in your Quick Open (Ctrl+P):
ext install caelrith.loglens-vscode
We hope this improves your debugging workflow. Happy logging!