The Quick Log Insert extension simplifies the process of inserting customizable debug log statements into your code across multiple languages. I created this extension to address a common issue I faced when debugging—figuring out exactly where my code was breaking. I used to add console logs after several lines of code to verify that everything was working fine, but this became a tedious task. That's why I built this extension: it allows you to insert unique, custom logs with just a shortcut, making the debugging process faster and more efficient!
Features
Language-specific debug log insertion: Automatically inserts the appropriate log statement depending on the language you're working with (e.g., console.log() for JavaScript, print() for Python).
Customizable log message: Use placeholders like {fileName}, {lineNumber}, {functionName}, etc., to generate dynamic log messages.
Keybinding support: Quickly insert a debug log using configurable keybindings.
User-defined log formats: Override the default log statements with your own preferred format for each language.
Placeholder configuration: Easily customize the placeholders used in the log message template.
You can also define placeholders like {fileName}, {lineNumber}, {language}, {date}, and {time} to automatically populate your logs with relevant information.