protocol DebugPrintable

A type with a customized textual representation for debugging purposes.

This textual representation is used when values are written to an output stream by debugPrint and debugPrintln, and is typically more verbose than the text provided by a Printable's description property.

In order to generate a textual representation for an instance of any type (which might or might not conform to DebugPrintable), use toDebugString.

Inheritance View Protocol Hierarchy →
Import import Swift

Instance Variables

var debugDescription: String Required

A textual representation of self, suitable for debugging.


var debugDescription: String { get }