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

Better Yowsup logging #1461

Open
thundergreen opened this issue Apr 5, 2016 · 0 comments
Open

Better Yowsup logging #1461

thundergreen opened this issue Apr 5, 2016 · 0 comments

Comments

@thundergreen
Copy link

Hey guys. would it be possible having a better logging level for yowsup? Someone gave me this "code" to implement in the logging:

yowsup would need to put something like this in their logging code:
import inspect
(frame, filename, line_number, function_name, lines, index) = inspect.getouterframes(inspect.currentframe())[2]
theirloggingfunction("file: {0}, line: {1}, function: {2}".format(filename, line_number, function_name))

maybe this could help ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant