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

Change log_call decorator to accept custom function for logging #1

Open
Agent-Hellboy opened this issue Dec 7, 2022 · 2 comments
Open
Labels
enhancement New feature or request hacktoberfest

Comments

@Agent-Hellboy
Copy link
Owner

Currently, log_call decorator is using the python std module logging module internally to log message

@log_call
class A:
    def __init__(self):
        pass

    def a(self,*args,**kwargs):
        pass

log_call should receive a param where we can pass a custom logging function to log the message as people can use click or several other libs which provide logging facility for logging

@Agent-Hellboy Agent-Hellboy added the enhancement New feature or request label Dec 7, 2022
@Young8881
Copy link

Patch

@Agent-Hellboy
Copy link
Owner Author

Patch

what?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants