in Legacy/PlaygroundLogger/PlaygroundLogger/LoggerMirror.swift [170:188]
func getSummaries() -> (type_name: String, summary : String) {
var tuple : (type_name : String, summary : String) = (displayTypeName, displayTypeName)
if isEnumWithoutCustomConformace {
tuple.summary = description
}
else if isCustomPrintable {
tuple.summary = debugDescription
}
if let _ = quickLookObject?.getStringIfAny() {
if tuple.summary.length > 1024 {
if let trunc = tuple.summary.substr(from: 0, len: 1024) {
tuple.summary = trunc
}
}
}
return tuple
}