Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Console AuditorNew to Visual Studio Code? Get it now.
Console Auditor

Console Auditor

Gul Faraz

|
2 installs
| (0) | Free
Manage every console log in your project with one click. Offline, high-performance AST auditor.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Console Auditor

Manage every console statement in your project with confidence.

Console Auditor is a lightweight, privacy-first Visual Studio Code extension that helps you find, manage, and clean up console statements before shipping your code. Whether you're working on a small project or a large codebase, Console Auditor makes it easy to audit your logging without leaving VS Code.

100% offline. No telemetry. No external services.


✨ Features

🔍 Scan Your Project

Quickly scan your workspace to find every supported console statement.

Supported methods include:

  • console.log()
  • console.error()
  • console.warn()
  • console.info()
  • console.debug()
  • console.trace()
  • console.table()
  • console.time()
  • console.group()
  • console.assert()
  • console.dir()
  • console.count()

Using AST-based analysis, Console Auditor accurately detects console statements while avoiding false positives inside comments, strings, or documentation.


🎨 Highlight Console Statements

Instantly highlight console statements in the editor to make them easy to spot while reviewing your code.

  • Editor decorations
  • Hover information
  • Quick actions
  • Toggle highlighting on or off

🚫 Disable Logs

Need to keep your logs for later?

Disable them with one click by commenting them out while preserving your original formatting and indentation.


🗑️ Remove Logs

Safely remove console statements from a file or an entire workspace before production releases.

Designed to keep your code clean without breaking formatting.


↩️ Restore Changes

Accidentally removed or disabled a log?

Restore recent changes directly from the extension without manually searching through your files.


📊 Export Reports

Generate reports in multiple formats:

  • JSON
  • Markdown
  • CSV
  • HTML

Reports include useful information such as:

  • File name
  • Line number
  • Console method
  • Message preview
  • Export timestamp

📌 Helpful Productivity Features

  • Status Bar log counter
  • CodeLens support
  • Explorer badges
  • Workspace statistics
  • Current file summary
  • Quick commands from the Command Palette

🧩 Supported Languages

Console Auditor currently supports:

  • JavaScript
  • TypeScript
  • React (JSX)
  • React (TSX)
  • Node.js
  • Angular
  • Vue
  • Svelte

Additional language support can be added in future releases.


🚀 Commands

Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P) and search for Console Auditor.

Available commands include:

  • Scan Workspace
  • Scan Current File
  • Highlight Logs
  • Clear Highlights
  • Disable Logs
  • Enable Logs
  • Remove Logs
  • Restore Logs
  • Export Report
  • Refresh Analysis

⚙️ Configuration

Console Auditor provides configurable settings, including:

  • Enable or disable editor decorations
  • Enable CodeLens
  • Status Bar visibility
  • Auto refresh
  • Export format
  • Highlight colour
  • Ignored folders
  • Ignored files
  • Maximum files to scan

You can customise everything from the VS Code Settings page.


🔒 Privacy

Your code never leaves your computer.

Console Auditor is built with privacy in mind.

  • ✅ Works completely offline
  • ✅ No telemetry
  • ✅ No analytics
  • ✅ No cloud services
  • ✅ No external API calls
  • ✅ No AI or API keys required

Everything runs locally inside Visual Studio Code.


📷 Screenshots

Screenshots will be added soon.

Suggested images:

  • Sidebar overview
  • Editor highlighting
  • Explorer badges
  • Export report
  • Status Bar
  • CodeLens

💡 Why Console Auditor?

Many projects accumulate dozens—or even hundreds—of forgotten console statements during development.

Console Auditor helps you:

  • Find them quickly
  • Review them visually
  • Disable them safely
  • Remove them when needed
  • Restore them if necessary
  • Export audit reports for code reviews

It's a simple tool designed to make production releases cleaner and more confident.


🛣️ Roadmap

Planned improvements include:

  • Custom log rules
  • Workspace history
  • Advanced filtering
  • Git-aware analysis
  • Keyboard shortcut customisation
  • Additional language support

🤝 Contributing

I'm not an expert, still learning. There can be bugs, if you see anything wrong, any bug, you can let me know, I'll appreciate your efforts.

📄 License

Licensed under the MIT License.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft