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 logging for yowsup #49

Closed
thundergreen opened this issue Apr 5, 2016 · 1 comment
Closed

Better logging for yowsup #49

thundergreen opened this issue Apr 5, 2016 · 1 comment

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 ?

@jlguardi
Copy link
Owner

jlguardi commented Apr 5, 2016

Duplicated: tgalal#1461

@jlguardi jlguardi closed this as completed Apr 5, 2016
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

2 participants