Add static method `get_config`

I found the need to query the current settings, specifically logging in code I'm working on.