diff --git a/Classes/Service/AssetIntegrationService.php b/Classes/Service/AssetIntegrationService.php index 6b481a8..33b2ffd 100644 --- a/Classes/Service/AssetIntegrationService.php +++ b/Classes/Service/AssetIntegrationService.php @@ -24,6 +24,7 @@ use Neos\Media\Domain\Model\AssetVariantInterface; use Neos\Media\Domain\Model\ImageInterface; use Neos\Neos\Controller\CreateContentContextTrait; +use Psr\Log\LoggerInterface; /** * Monitors changes to assets which are used in Neos CR nodes @@ -46,6 +47,12 @@ final class AssetIntegrationService */ protected $assetUsageService; + /** + * @Flow\Inject(name="Flowpack.Neos.AssetUsage:Logger") + * @var LoggerInterface + */ + protected $assetUsageLogger; + private $assetPropertiesByNodeType = []; public function assetRemoved(AssetInterface $asset): void