Skip to content

Commit

Permalink
docs: add info log level to readme (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Nov 22, 2024
1 parent 9d3a8ee commit 24bf70d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,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 `SATURN_SDK_LOG` to `debug`.
You can enable logging by setting the environment variable `SATURN_SDK_LOG` to `info`.

```shell
$ export SATURN_SDK_LOG=debug
$ export SATURN_SDK_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`:
Expand Down

0 comments on commit 24bf70d

Please sign in to comment.