Search packages, repositories and app categories

GitHub repositoryDefuera/dio_logger

dio_logger

Defuera/dio_logger open-source repository details.

dio_logger project cover
Stars
6
Forks
5
Last push (UTC)
Oct 31, 2023
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

dio_logger

Simple logging interceptor for Dio.

Usage:

final dio = Dio();
dio.interceptors.add(dioLoggerInterceptor)

Sample output:

┌------------------------------------------------------------------------------
| [DIO] Request: GET https://myapi.com/users/3
| {}
| Headers:
| content-type: application/json; charset=utf-8
| accept: application/json; charset=utf-8
| cache-control: no-cache
| Access-Token: DJmdklfja3r3Ffmejwhfdgjh
├------------------------------------------------------------------------------
| [DIO] Response [code 200]: {"email":"justdevelopers@gmail.com","name":"defuera"}
└------------------------------------------------------------------------------

Features

  • Log request method
  • Log query paramethers
  • Log request body
  • Log response code
  • Log response body
Defuera GitHub avatar
GitHub author

Defuera ↗

android -> flutter -> crypto

DevArtel.ioNetherlands
LanguagesDart

Packages published by this repository

Dependencies used

Dependency list 1 items

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗