Skip to content

Commit 4b74a14

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
docs: add info log level to readme (#161)
1 parent 8509eeb commit 4b74a14

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,14 @@ Note that requests that time out are [retried twice by default](#retries).
168168

169169
We use the standard library [`logging`](https://docs.python.org/3/library/logging.html) module.
170170

171-
You can enable logging by setting the environment variable `ONEBUSAWAY_SDK_LOG` to `debug`.
171+
You can enable logging by setting the environment variable `ONEBUSAWAY_SDK_LOG` to `info`.
172172

173173
```shell
174-
$ export ONEBUSAWAY_SDK_LOG=debug
174+
$ export ONEBUSAWAY_SDK_LOG=info
175175
```
176176

177+
Or to `debug` for more verbose logging.
178+
177179
### How to tell whether `None` means `null` or missing
178180

179181
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`:

0 commit comments

Comments
 (0)