Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logging for a better dev experience #12

Open
Sharp-Eyes opened this issue Sep 4, 2022 · 0 comments
Open

Add logging for a better dev experience #12

Sharp-Eyes opened this issue Sep 4, 2022 · 0 comments
Labels
enhancement New feature or request target: rewrite This will be completed in the rewrite.

Comments

@Sharp-Eyes
Copy link
Member

Summary

Add logging to e.g. custom_id creation such that it is easier for people to figure out if something went wrong and why.

What is the feature request for?

disnake.ext.components

The Problem

Currently, just about everything the module does, happens internally, away from the user's influence except for any exceptions that are raised. Providing logging for some internal actions that are taken would make it easier to debug any issues. This holds both for fixing bugs with the library, and for the end-developer to more quickly figure out if something went wrong due to an error they made in setting up the component listeners.

The Ideal Solution

Add logging debug logging to a couple parts of the internals. Ideally use different loggers so users can pick which they want to enable/disable. of

The Current Solution

There currently is no solution to this problem, outside of writing custom listener classes, which is not really feasible.

Additional Context

No response

@Sharp-Eyes Sharp-Eyes added the enhancement New feature or request label Sep 5, 2022
@Sharp-Eyes Sharp-Eyes added the target: rewrite This will be completed in the rewrite. label Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request target: rewrite This will be completed in the rewrite.
Projects
None yet
Development

No branches or pull requests

1 participant