Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Log Location InjectorNew to Visual Studio Code? Get it now.
Log Location Injector

Log Location Injector

Shaquille Hinds

|
13 installs
| (0) | Free
Inject location of console.log/warn/error on save in js(x) and ts(x) files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Log Location Injector

Inject location of console.log/warn/error on save in js(x) and ts(x) files

Example


Commands

Ctrl + Shift + P or Shift + ⌘ + P and type "Log Location Injector"

Log Location Injector: Toggle automatic injection of location on save.

Log Location Injector: Remove all instances of location injectors $lf(number)

Log Location Injector: Remove console logs/warns/errors

Log Location Injector: Inject/Update instances of location injectors $lf(number)

Modifiers

  • //$lf-ignore : If present, ignores automatic injection on save.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft