From 031eaf47ed83864823de2af2704f028d06eb9ffe Mon Sep 17 00:00:00 2001 From: stainless-bot Date: Tue, 26 Nov 2024 10:07:57 +0000 Subject: [PATCH] docs: add info log level to readme --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0b2eccbe..34c9e414 100644 --- a/README.md +++ b/README.md @@ -220,12 +220,14 @@ Note that requests that time out are [retried twice by default](#retries). We use the standard library [`logging`](https://docs.python.org/3/library/logging.html) module. -You can enable logging by setting the environment variable `GROQ_LOG` to `debug`. +You can enable logging by setting the environment variable `GROQ_LOG` to `info`. ```shell -$ export GROQ_LOG=debug +$ export GROQ_LOG=info ``` +Or to `debug` for more verbose logging. + ### How to tell whether `None` means `null` or missing In an API response, a field may be explicitly `null`, or missing entirely; in either case, its value is `None` in this library. You can differentiate the two cases with `.model_fields_set`: