structlog
structlog copied to clipboard
Add public method to access _processors in BoundLogger
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.
related to https://github.com/ethereum/pyethereum/issues/202
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. ;)