From 5966b855f3e58d735d8ccfe3244f549baa3a87ed Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 22 Nov 2024 16:07:50 +0000 Subject: [PATCH] docs: add info log level to readme (#761) --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index af3af625..f006d1d0 100644 --- a/README.md +++ b/README.md @@ -537,12 +537,14 @@ client = Anthropic( We use the standard library [`logging`](https://docs.python.org/3/library/logging.html) module. -You can enable logging by setting the environment variable `ANTHROPIC_LOG` to `debug`. +You can enable logging by setting the environment variable `ANTHROPIC_LOG` to `info`. ```shell -$ export ANTHROPIC_LOG=debug +$ export ANTHROPIC_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`: