corda / com.r3.corda.networkmanage.common / LoggingRenderer

LoggingRenderer

class LoggingRenderer : Renderer

Pipes messages to the provided logging context ctx and reads input from the standard console.

Constructors

<init>

LoggingRenderer(ctx: <ERROR CLASS>)

Pipes messages to the provided logging context ctx and reads input from the standard console.

Properties

ctx

val ctx: <ERROR CLASS>

Functions

printError

fun printError(exception: Exception): Unit
fun printError(msg: String): Unit

printLine

fun printLine(msg: String): Unit

printTable

fun printTable(columnHeaders: List<String>, rowValues: List<List<String>>, precedingNewLine: Boolean): Unit

printWarning

fun printWarning(msg: String): Unit
fun printWarning(exception: Exception): Unit

readInput

fun readInput(promptString: String): String?

readPassword

fun readPassword(promptString: String): String?