Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Unobtrusive LogsNew to Visual Studio Code? Get it now.
Unobtrusive Logs

Unobtrusive Logs

Nemo Cazin

|
14 installs
| (0) | Free
Reduces the visual impact of logs during development.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

unobtrusive-logs

Build job Test job

codecov

Description

VS Code extension that adjusts the visual appearance of log statements in your code by controlling their opacity and color, making them less obtrusive while coding.

Example:

Unobtrusive Logs off Unobtrusive Logs on

Features

  • Customizable opacity for log statements (0-100%)
  • Configurable color for log statements
  • Creation of custom regexes for log statements
  • Support generic logs and languages specifics logs (more languages coming soon)
  • Simple commands for quick adjustments

Usage

The extension is enabled by default when you open VS Code. It will apply the configured opacity and color settings to log statements in your code.

Commands

  • unobtrusive-logs.toggle: Toggle On/Off the extension
  • unobtrusive-logs.changeOpacity: Change the opacity level of log statements
  • unobtrusive-logs.changeColor: Change the color of log statements
  • unobtrusive-logs.addCustomRegex: Add a custom regex
  • unobtrusive-logs.deleteCustomRegex: Delete a custom regex

Configuration

You can configure the extension in VS Code settings:

  • unobtrusive-logs.toggle: Activate or no the extension
  • unobtrusive-logs.opacity: Opacity level for logs (0 to 100, default: 50)
  • unobtrusive-logs.color: Color used for logs (default: #808080)
  • unobtrusive-logs.custom-regexes: Custom regexes ({language: string, name: string, pattern: string})

Create a custom regex

If you want to implement your custom regex for specific statements, you need to use the command unobtrusive-logs.addCustomRegex. Then they will ask to select a language, to name the regex and to write the regex formula.

Example:

console\.help\(([\s\S]*?)\);?                   // Regex for the following log statement
console.help("I need help for this regex !")

Contact

Némo Cazin 2026

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