Add logger to compileAsset