It would be good to be able to get the logging level. One use case is when configuring the logger of one component to share the same level as another. For example, the miniMQTT library exposes a logger, so I'd like to set the level of that in some client code to be the level set by my application.