How can I replace cesium ion logo on globe with my own logo using credits?

I want to replace cesium ion logo with my own logo. but when I try to add default credit using following lines

viewer.scene.frameState.creditDisplay.addDefaultCredit(new Cesium.Credit({ text: ‘’, showOnScreen: true }));

It results as below and see image in reply
[object object]

Is there any way to replace cesium logo with my own logo?

The terms of service of Cesium ion require that you display the logo if you’re using any of ion’s services (imagery, geocoding etc): https://cesium.com/legal/terms-of-service/.

If you’re not using any of these services, we’d certainly appreciate keeping the logo but you’re not required to. You can use CSS to hide the cesium-widget-credits class, or use JavaScript to get that element and hide it.