We went with:
https://github.com/ansys-internal/ansys-tools-common/blob/0ba8b50776709160fc976155c10b122f50cfebe4/src/ansys/tools/logger.py#L94-L96
But we should consider to get some agreement from the rest of the PyAnsys dev ecosystem.
Also, the current implementation is handled as a Singleton - and basically any changes implemented by a library to the logger will impact the other libraries. However, we do not want to have multiple logger instances when executing PyAnsys code -- the goal is that everybody uses the same logger object. This should be clarified and discussed. We might have to prevent write operations for certain logger properties...