-
-
Notifications
You must be signed in to change notification settings - Fork 81
feat: add support for configuring a debug logger #148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+1,259
−168
Merged
Changes from 11 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
6815ae7
cassette: do not embed `sync.Mutex` into the `Cassette`
dnaeon 8e02537
cassette: add a new field for configuring a debug logger
dnaeon fc89672
recorder: add `WithDebugLogger` option
dnaeon ee455b6
recorder: WithDebugLogger -> WithDebugWriter
dnaeon 57c1950
cassette: add Cassette.debug() method
dnaeon 10564ab
recorder: use shorter `r` instead of `rec` receiver name
dnaeon f034660
recorder: implement fmt.Stringer for recorder.Mode
dnaeon 761b22e
recorder: minor style fixes
dnaeon 4beac6b
Add support for emitting debug log events for the recorder and cassette
dnaeon 89a7cdb
recorder: add support for configuring debug logger via `VCR_DEBUG` en…
dnaeon 5b6ff0d
Add tests related to debug logger
dnaeon 0332abb
cassette,recorder: use consistent keys for debug events
dnaeon 46db3c1
recorder: emit debug events when invoking hooks
dnaeon 4dc7be1
Emit debug event when loading a cassette
dnaeon 2509028
cassette: impelement fmt.Stringer for Request and Response
dnaeon b32ef24
cassette,recorder: additional debug events related to HTTP middleware…
dnaeon 0354b2d
recorder: emit debug events when context is cancelled
dnaeon 70b6a1b
Drop redundant debug events
dnaeon 5382708
examples: add an example for WithDebugWriter option
dnaeon 10d2e9f
README: update read and include full examples
dnaeon 9c2176c
Style fixes, use stdlib functions where applicable
dnaeon e097afe
Drop redundant fields during in debug events
dnaeon 7ec4b4c
Fix additional nits
dnaeon f9d1fce
cassette: hint API users to use the recorder.WithDebugWriter option f…
dnaeon 854bb3e
changelog: backfill entries and prepare for new patch release
dnaeon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.