From 2adc14ebdcd2fad48ac2b824dc27175d0871690e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 23 Nov 2024 10:18:42 +0000 Subject: [PATCH] docs: add info log level to readme (#29) --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dc483f7..499cdd8 100644 --- a/README.md +++ b/README.md @@ -176,12 +176,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 `FIND_AI_LOG` to `debug`. +You can enable logging by setting the environment variable `FIND_AI_LOG` to `info`. ```shell -$ export FIND_AI_LOG=debug +$ export FIND_AI_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`: