protected function log(string $id, string $domain): void
    {
        $catalogue = $this->catalogue;

        if ($catalogue->defines($id, $domain)) {
            return;
        }

        if ($catalogue->has($id, $domain)) {
            $this->logger->debug(
                'Translation use fallback catalogue.',
                ['id' => $id, 'domain' => $domain, 'locale' => $catalogue->getLocale()]
            );
        } else {
            $this->logger->warning(
                'Translation not found.',
                ['id' => $id, 'domain' => $domain, 'locale' => $catalogue->getLocale()]
            );
        }
    }
protected function log(string $id, string $domain): void
    {
        $catalogue = $this->catalogue;

        if ($catalogue->defines($id, $domain)) {
            return;
        }

        if ($catalogue->has($id, $domain)) {
            $this->logger->debug(
                'Translation use fallback catalogue.',
                ['id' => $id, 'domain' => $domain, 'locale' => $catalogue->getLocale()]
            );
        } else {
            $this->logger->warning(
                'Translation not found.',
                ['id' => $id, 'domain' => $domain, 'locale' => $catalogue->getLocale()]
            );
        }
    }
protected function log ( string $ id , string $ domain ) : void { $ catalogue = $ this -> catalogue ; if ( $ catalogue -> defines ( $ id , $ domain ) ) { return ; } if ( $ catalogue -> has ( $ id , $ domain ) ) { $ this -> logger -> debug ( 'Translation use fallback catalogue.' , [ 'id' => $ id , 'domain' => $ domain , 'locale' => $ catalogue -> getLocale ( ) ] ) ; } else { $ this -> logger -> warning ( 'Translation not found.' , [ 'id' => $ id , 'domain' => $ domain , 'locale' => $ catalogue -> getLocale ( ) ] ) ; } }
Logs for missing translations.

@param string $id
@param string $domain

@return void
Logs for missing translations .