Make all print statements optional
### Feature request

Make all print statements optional to speed up the development

### Motivation

Im loading multiple tiny datasets and all the print statements make the loading slower

### Your contribution

I can help contribute
related to #5444  We now log these messages instead of printing them (addressed in #6019), so I'm closing this issue.