vscode-logger
is a Visual Studio Code extension that simplifies logging for developers by providing enhanced logging functionalities directly within the editor.
- Log Insertion: Quickly insert log statements (e.g., console.log) into your code with customizable templates.
- Log Highlighting: Automatically highlight log statements for better visibility and debugging.
- Log History: View a history of recent log statements and navigate directly to their insertion points.
- Customizable Settings: Tailor logging behavior and appearance to suit your preferences.
You can install vscode-logger
from the Visual Studio Code Marketplace or directly from the editor.
- Open Visual Studio Code.
- Go to the Extensions view (Ctrl+Shift+X).
- Search for
vscode-logger
. - Click Install to install it.
- Reload Visual Studio Code to activate the extension.
To insert a log statement:
- Place your cursor at the position where you want to insert the log.
- Open the Command Palette (Ctrl+Shift+P).
- Type
Insert Log
and select the desired log type (e.g.,console.log
).
You can customize vscode-logger
through the settings:
- Go to File > Preferences > Settings (Ctrl+,).
- Search for
vscode-logger
to find all available settings. - Modify the settings as per your requirements.
Contributions are welcome! Please fork the repository and submit a pull request with your changes. For major feature requests, please open an issue first to discuss the proposed changes.
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or issues, please open an issue on GitHub.