Hush lite wallet for Android
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
490 B

package cash.z.ecc.android.feedback
import android.util.Log
class FeedbackConsole : FeedbackCoordinator.FeedbackObserver {
override fun onMetric(metric: Feedback.Metric) {
log(metric.toString())
}
override fun onAction(action: Feedback.Action) {
log(action.toString())
}
override fun flush() {
// TODO: flush logs (once we have the real logging in place)
}
private fun log(message: String) {
Log.d("@TWIG", message)
}
}