Core/Consumers/AbstractConsumer.php
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'),
            ]
        );
    }
}
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'),
            ]
        );
    }
}
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' ) , ] ) ; } }
Log the moment a message was consumed.
Log the moment a message was consumed .