Add `with-log-level` for thread-local logging levels