From 5c2e2653c8ac40fd1856c27a41ad5d325b7c837b Mon Sep 17 00:00:00 2001 From: agatha Date: Fri, 8 Sep 2023 21:33:09 -0400 Subject: [PATCH] Update README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bf1779b..7aa1292 100644 --- a/README.md +++ b/README.md @@ -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` \ No newline at end of file +`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 +``` \ No newline at end of file