super_network_logger

Creator: coderz1093

Last updated:

0 purchases

super_network_logger Image
super_network_logger Images

Languages

Categories

Add to Cart

Description:

super network logger

super_network_logger #


Super Network Logger is a Dio interceptor for logging network calls with color, styling, and formatting support.
Features #

Formatting support
Color styling support
Json support
Fully customizable

Usage #
Simply add SuperNetworkLogger to your dio interceptors.
Dio dio = Dio();
dio.interceptors.add(SuperNetworkLogger());

// optional customization
dio.interceptors.add(
SuperNetworkLogger(
logError: true,
logRequest: true,
logResponse: true,
logErrorBody: true,
logRequestBody: true,
logResponseBody: true,
logErrorResponseHeader: true,
logRequestHeader: true,
logResponseHeader: true,
compact: true,
maxWidth: 100,
errorStyle: [Styles.RED, Styles.BLINK],
requestStyle: [Styles.YELLOW],
responseStyle: [Styles.GREEN],
logName: "SuperNetworkLogger",
),
);
copied to clipboard
Output Sample #
Success Log

Error Log

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.