/** * BaseExecutor constructor. * @param BaseModuleDto|null $executorDto */ public function __construct(BaseModuleDto $executorDto = null) { //legacy if ($executorDto) { $this->context = new \ZMQContext(); $this->logger = Logging::resolveMonologLogger($executorDto->getLogger(), $executorDto->getModuleName()); } return null; }
/** * @return null */ public function initLoggers() { $this->logger = $this->moduleDto->getLogger(); $this->loggerPostfix = $this->moduleDto->getLoggerPostfix(); return null; }