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 public method to access _processors in BoundLogger #46

Open
heikoheiko opened this issue Feb 7, 2015 · 2 comments
Open

Add public method to access _processors in BoundLogger #46

heikoheiko opened this issue Feb 7, 2015 · 2 comments

Comments

@heikoheiko
Copy link

My use case here is, that I have one special processor wich forwards events to listeners, independent of the loglevel. in order to check if the logger 'is active' i need to access the first processor in list and check if it has listeners. currently i have to access the private member _processors.

i think a pythonic way would to solve this would be to simply make the processor list public.

@heikoheiko
Copy link
Author

related to ethereum/pyethereum#202

@hynek
Copy link
Owner

hynek commented Feb 8, 2015

Ok, I will document it as public similarly to _logger. I will not change the APIs though because turns out people are using internal APIs. ;)

@hynek hynek added this to the 15.1.0 milestone Feb 8, 2015
@hynek hynek removed this from the 16.1.0 milestone Apr 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants