protected function logConsumeMessage()
    {
        if ($this->logger) {
            $now = DateTimeCreator::getNowDateTime();

            $this->logger->info(
            'A message was consumed on {date}', [
            'date' => $now->format('Y-m-d H:i:s.u'),
            ]
        );
    }
}