withErrorLogger static method

void withErrorLogger(
  1. void logger(
    1. RxException error
    ),
  2. void test()
)

Test with custom error logger

Implementation

static void withErrorLogger(
  void Function(RxException error) logger,
  void Function() test,
) {
  withErrorConfig(
    RxErrorConfig(customLogger: logger),
    test,
  );
}