Update README.md
This commit is contained in:
parent
d535e879ed
commit
5c2e2653c8
@ -26,4 +26,10 @@ You can catch these exceptions and handle them accordingly in your code.
|
||||
|
||||
## Debugging
|
||||
To turn on debugging, initialize the wrapper with `debug=True`. This will set the log level of
|
||||
`urllib3` to `logging.DEBUG`
|
||||
`urllib3` to `logging.DEBUG`.
|
||||
|
||||
If a global logger is not configured, a logger will be initialized with the basic configuration:
|
||||
```
|
||||
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): jsonplaceholder.typicode.com:443
|
||||
DEBUG:urllib3.connectionpool:https://jsonplaceholder.typicode.com:443 "GET /users HTTP/1.1" 200 None
|
||||
```
|
Loading…
Reference in New Issue
Block a user