loggerFunction property

void Function(String message)? loggerFunction
getter/setter pair

Custom logger function that will be used instead of debugPrint if provided.

When set, this function will be called to log cURL commands instead of using Flutter's debugPrint. Useful for integrating with custom logging frameworks or analytics services.

Implementation

void Function(String message)? loggerFunction;