Describe the feature you'd like to see
There are a couple of print() calls in linopy. When a model is infeasible, pypsa-eur calls model.print_infeasibilities(), which calls print_labels(), which prints the infeasibilities to stdout, but not to the logs.
Would it theoretically be possible to replace all print() calls in linopy, with logger.info()?