summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2024-12-05 16:35:25 -0700
committermo khan <mo@mokhan.ca>2024-12-05 16:35:25 -0700
commit02562ffa1a4fcfef773e4b56bac4d1bb05d5e412 (patch)
tree6c5ff4dc02891fed133041fce252d35ae0225ec8 /README.md
parentb6d7b627d3685eb81ec670848aa0474eb2aab003 (diff)
feat: disable logger by default
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 2 insertions, 5 deletions
diff --git a/README.md b/README.md
index c6055ec..f3ace91 100644
--- a/README.md
+++ b/README.md
@@ -65,13 +65,10 @@ client = Net::Hippie::Client.new(
)
```
-To enable HTTP debug output you will need to explicitly set it.
+To disable logging you will need to override the default logger.
```ruby
-Net::Hippie.logger = Logger.new(STDERR)
-client = Net::Hippie::Client.new(
- enable_debug_output: true
-)
+client = Net::Hippie::Client.new(logger: nil)
```
### Basic Auth