http_logger_library 0.12.1 http_logger_library: ^0.12.1 copied to clipboard
A logging middleware for Dart's http module forked from TEDConsulting/http_logger.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add http_logger_library
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
http_logger_library: ^0.12.1
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:http_logger_library/http_logger.dart';
import 'package:http_logger_library/log_level.dart';
import 'package:http_logger_library/logger.dart';
import 'package:http_logger_library/logging_middleware.dart';