-
-
Notifications
You must be signed in to change notification settings - Fork 96
feat: Talker Chopper logger #355
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
Merged
Changes from all commits
Commits
Show all changes
87 commits
Select commit
Hold shift + click to select a range
af28509
:tada: initial commit
techouse b1f6aa9
:white_check_mark: add tests
techouse 52a757f
:page_facing_up: add license
techouse ef0b8da
:construction_worker: add GitHub Actions workflow for talker_chopper_…
techouse b965475
:white_check_mark: replace string HTTP methods with HttpMethod enum i…
techouse ee2193f
:technologist: add example web app
techouse 5be0de6
:technologist: update example
techouse 39f1898
:hammer: update example analysis options
techouse 8eacd18
:technologist: add android and ios example
techouse f3e6339
:see_no_evil: ignore Podfile.lock in ios example
techouse 607a46c
:technologist: add Makefile
techouse 7d41851
:memo: update README with project details and usage instructions
techouse 7ec5170
:memo: update README description
techouse ae24731
:bug: make sure to always stop stopwatch
techouse dd3cbda
:memo: update main README
techouse 9bea09f
:memo: fix links in main README
techouse 3c46a17
:zap: increase test coverage
techouse 2528d62
:bug: fix typo in JSON content type interceptor filename
techouse 0339f7e
:art: implement EquatableMixin for TalkerChopperLoggerSettings class
techouse 76fab62
:white_check_mark: increase coverage
techouse a784b6f
:white_check_mark: increase coverage
techouse 29a7d83
:fire: remove unused constant for Chopper logger timestamp
techouse fdc5fd0
:white_check_mark: update tests
techouse 347ca04
:recycle: replace function type definitions with typedefs for request…
techouse 0686a61
:art: simplify header replacement logic in _replaceHiddenHeaders method
techouse c1b087d
:sparkles: add logLevel property to TalkerChopperLogger and settings …
techouse 7ae739c
:white_check_mark: add tests for logLevel in Chopper log classes and …
techouse 54235db
:memo: update README to include Talker Chopper Logger customization o…
techouse 4f1e077
:book: update README to enhance customization options for TalkerDioLo…
techouse b7b34b1
:sparkles: add support for talker_chopper_logger in pub get, publish,…
techouse 325c88b
:bookmark: update pubspec.yaml to enhance package description and add…
techouse 7bd8ff9
:memo: update README to correct image path for Chopper Logger preview
techouse 0c53003
:white_check_mark: fix test
techouse a0685fd
:white_check_mark: remove print in test
techouse 2d22d38
:sparkles: add cURL request logging support and enhance request data …
techouse 4e4d8f1
:white_check_mark: enhance ChopperRequestLog tests to include detaile…
techouse 9a68007
:art: refactor logging message generation to improve readability and …
techouse c99a4bd
:white_check_mark: add tests for logging HTTP responses and errors wi…
techouse 59f1699
:bug: fix ChopperErrorLog to correctly log request URLs from exceptions
techouse 13821de
:bug: fix error logging to include HTTP status code and message for b…
techouse c90540c
:white_check_mark: fix tests
techouse 97ea2d8
:rotating_light: fix linter warning
techouse ce7c2f4
:construction_worker: update CI workflow to use Dart SDK and improve …
techouse 027d5f1
:green_heart: fix CI
techouse 4f14f51
:construction_worker: update CI workflow to run tests on multiple pla…
techouse 600f924
:bug: remove duplicate _replaceHiddenHeaders call
techouse 932426d
:zap: fix constructor call and improve log message formatting
techouse 4e78577
:white_check_mark: simplify error log messages by removing redundant …
techouse da14174
:loud_sound: add stack trace to ChopperException handling for improve…
techouse c452af3
:safety_vest: enhance error handling in request/response logging for …
techouse a190665
:zap: streamline logging by removing redundant try-catch blocks
techouse 59bee0c
:bug: fix regex pattern in error log message for accurate matching
techouse 61580b1
:art: fix error variable naming in logging for consistency
techouse 8d5a135
:art: enhance logging in tests to include stack traces for better err…
techouse a005e3a
:white_check_mark: fix tests
techouse 6b3e04a
:white_check_mark: fix tests
techouse 01e5677
:white_check_mark: fix tests
techouse e753320
:white_check_mark: add test for logging http 5xx response errors in l…
techouse 9de2786
:recycle: refactor logging to improve error handling and data output …
techouse 35ac5f2
:white_check_mark: add tests for logging various HTTP request methods…
techouse d493789
:memo: update example readme
techouse 4c52fc8
:memo: update readme
techouse d5e8043
:memo: update main readme
techouse a0c9f2a
:memo: update main readme links
techouse f7710e5
:safety_vest: refactor error logging to handle ChopperHttpException a…
techouse 657703f
:white_check_mark: update logger tests to include headers in error lo…
techouse 48648d9
:art: refactor error handling in Chopper logger interceptor to use pa…
techouse 70b3b55
:art: refactor response logging to use switch-case for status code ha…
techouse 947b28b
:safety_vest: add 'avoid_print' rule to analysis options for improved…
techouse 6a616bf
:goal_net: refactor logging to use a dedicated convert method for imp…
techouse 5235203
:white_check_mark: add tests to handle forced exceptions in ChopperRe…
techouse 76a68b6
:recycle: split chopper_logs into ChopperErrorLog, ChopperRequestLog,…
techouse 125be16
:recycle: update imports to use ChopperErrorLog, ChopperRequestLog, a…
techouse 53546b5
:white_check_mark: update imports in logger_test.dart and logs_test.d…
techouse 3ce1513
:bento: update example preview
techouse cf9104b
:art: change _talker to be a late final variable for improved immutab…
techouse d8a8341
:memo: refine documentation for Talker addon functionality in talker_…
techouse 4fe7cf4
Merge branch 'master' into feat/talker-chopper-logger
techouse 9152909
:construction_worker: refactor GitHub Actions workflow for talker_cho…
techouse d649956
Merge branch 'master' into feat/talker-chopper-logger
techouse 92a3eb8
Merge branch 'master' into feat/talker-chopper-logger
techouse 7d5f3fd
Merge branch 'master' into feat/talker-chopper-logger
techouse 59481d3
Merge branch 'master' into feat/talker-chopper-logger
techouse 2ed2799
Merge branch 'master' into feat/talker-chopper-logger
techouse b8ba403
Merge branch 'master' into pr/355
Frezyx 2e7379f
Update Readme.md
Frezyx 651757a
Replace TalkerLogType with TalkerKey
Frezyx 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: talker_chopper_logger | ||
|
||
on: | ||
push: | ||
paths: | ||
- "packages/talker_chopper_logger/**" | ||
- ".github/workflows/talker_chopper_logger.yaml" | ||
pull_request: | ||
paths: | ||
- "packages/talker_chopper_logger/**" | ||
- ".github/workflows/talker_chopper_logger.yaml" | ||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
test: | ||
uses: ./.github/workflows/test.yaml | ||
with: | ||
package: talker_chopper_logger | ||
sdk: dart |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Miscellaneous | ||
*.class | ||
*.log | ||
*.pyc | ||
*.swp | ||
.DS_Store | ||
.atom/ | ||
.buildlog/ | ||
.history | ||
.svn/ | ||
|
||
# IntelliJ related | ||
*.iml | ||
*.ipr | ||
*.iws | ||
.idea/ | ||
|
||
# The .vscode folder contains launch configuration and tasks you configure in | ||
# VS Code which you may wish to be included in version control, so this line | ||
# is commented out by default. | ||
#.vscode/ | ||
|
||
# Flutter/Dart/Pub related | ||
# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock. | ||
/pubspec.lock | ||
**/doc/api/ | ||
.dart_tool/ | ||
.packages | ||
build/ | ||
.flutter-plugins | ||
.flutter-plugins-dependencies |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## 1.0.0 | ||
|
||
- Initial version. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2025 Klemen Tusar | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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.