Open "LogMagnifier" from the Activity Bar (List Icon).
Add Group: Click the + icon to create a new Filter Group (e.g., "AuthFlow").
Add Filters: Active the group, then add "Include" or "Exclude" keywords.
Tip: Hover over items to Toggle or Delete them.
Tip: Right-click items for options like Change Color, Toggle Case Sensitivity, Context Lines (±0/3/5/9), or Toggle Highlighting Mode (cycles: Word → Line → Whole Line).
Tip: Click the Arrow Up/Down icons on a filter item to navigate to the previous or next match in the editor.
Apply: Open your log file and click the Play icon in the view title.
Analyze: A new tab opens with the results.
Requirements
VS Code 1.104.0 or higher.
Extension Settings
This extension contributes the following settings:
logmagnifier.maxFileSizeMB: Maximum file size in MB for opening filtered logs as text documents. Larger files will open in safe mode. (Default: 50)
logmagnifier.highlightColor: Background color for log highlights. (Default: rgba(255, 255, 0, 0.3))
logmagnifier.tempFilePrefix: Prefix for the filtered temp files. (Default: filtered_)
logmagnifier.statusBarTimeout: Duration for status bar messages in milliseconds. (Default: 5000)
logmagnifier.enableRegexHighlight: Enable highlighting for Regex filters in the editor. (Default: false)