getDestination

abstract fun getDestination(): Destination

Describes whether the content was printed to the standard output or the standard error.