pretty_diox_logger 1.3.2 pretty_diox_logger: ^1.3.2 copied to clipboard
Pretty Diox logger is a Diox interceptor that logs network calls in a pretty, easy to read format.
pretty_diox_logger #
Pretty Dio logger is a Diox interceptor that logs network calls in a pretty, easy to read format.
Fokred from pretty_dio_logger to support Diox
Usage #
Simply add PrettyDioLogger to your dio interceptors.
Dio dio = Dio();
dio.interceptors.add(PrettyDioLogger());
// customization
dio.interceptors.add(PrettyDioLogger(
requestHeader: true,
requestBody: true,
responseBody: true,
responseHeader: false,
error: true,
compact: true,
maxWidth: 90));
How it looks like #
VS Code #