LogCallback typedef

LogCallback = void Function(String line)

Sink for log lines emitted by resilify interceptors and handlers.

Defaults to print in most integrations; swap for your preferred logger:

ResultLoggerInterceptor(logger: (line) => logger.d(line))

Implementation

typedef LogCallback = void Function(String line);