Skip to content

nuhmanpk/SuperLogger

Repository files navigation

SuperLogger - All-in-One Universal Logger for Visual Studio Code

SuperLogger Banner

SuperLogger is a versatile Visual Studio Code extension that enhances your coding experience across various programming languages. It provides entertaining and informative print statements with random emojis and jokes, making debugging a delightful and effective process.

Supported Languages:

  1. Python
  2. JavaScript
  3. TypeScript
  4. Java
  5. C++
  6. C#
  7. Ruby
  8. PHP
  9. Swift
  10. Go
  11. Rust
  12. Kotlin
  13. Jupter Notebooks
  14. and many more!

Whether you're working on a Python script or a Java application, SuperLogger adds a touch of humor and clarity to your code, making it easier to identify issues and understand your program's flow."

Multiple Language, single Tool !!!

Video

For Mac

cmd + opt + p

For Windows

ctrl + alt + p

NOTE : For node ('JavaScript', 'TypeScript', 'TypeScript (JSX)', 'JavaScript (JSX)', 'Vue.js', 'Svelte') , use cmd + opt + k or ctrl + alt + k for simple console.

Features

  • Easily add print statements with random emojis and jokes.
  • Enhance code readability and maintainability with informative print statements.
  • Customizable settings to adjust the behavior of SuperLogger.
  • Great for debugging and adding a touch of humor to your code.

Installation

You can install SuperLogger directly from the Visual Studio Code Marketplace.

  1. Open Visual Studio Code.
  2. Go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window.
  3. Search for "SuperLogger" in the Extensions view search box.
  4. Click the Install button to install it.

Usage

To add a SuperLogger print statement to your code:

  1. Open a file in Visual Studio Code.
  2. Select the text you want to add a log statement for.
  3. Use the keyboard shortcut (e.g., Ctrl+Alt+P) or the command palette to trigger SuperLogger.
  4. SuperLogger will automatically insert a log statement below your selection with a random emoji and joke.

Example

def calculate_sum(a, b):
    result = a + b
    # Select the 'result' variable and trigger SuperLogger
    # SuperLogger will add a print statement like this:
    # print("🚀 ~ your-file.py:4 ~ result:", result)
    return result

Sponsorship

If you find SuperLogger helpful and would like to support its development, consider sponsoring nuhmanpk on GitHub. Your sponsorship helps maintain and improve this extension for the entire community.

Known Issues

If you encounter any issues or have suggestions for improvements, please open an issue on GitHub.

Contributing

Contributions are welcome! Fork the repository, make your changes, and submit a pull request. Be sure to read our contribution guidelines for details. Add a missing language support ? open an issue

License

This project is licensed under the MIT License.

Enjoy coding with SuperLogger! 🚀

Sponsor this project