Open flavioamieiro opened 11 years ago
Maybe the base Worker class' init should receive and store in an instance variable the logger, so I could have a simple worker
from pypelinin import Worker class MyWorker(Worker): def process(data): self.logger.info(data)
and the call would look like:
MyWorker(logger=my_logger).process(data)
Maybe the base Worker class' init should receive and store in an instance variable the logger, so I could have a simple worker
and the call would look like: