zcash-android-wallet-sdk / cash.z.wallet.sdk.ext / TroubleshootingTwig / <init>

<init>

TroubleshootingTwig(formatter: (String) -> String = spiffy(5), printer: (String) -> Any = System.err::println)

A tiny log for detecting troubles. Aim at your troubles and pull the twigger.

Parameters

formatter - a formatter for the twigs. The default one is pretty spiffy.

printer - a printer for the twigs. The default is System.err.println.