printAncestorChainOf method

void printAncestorChainOf(
  1. Object object
)

Implementation

void printAncestorChainOf(Object object) {
  if (shouldLog) {
    if (object is RenderObject)
      _internalPrint(nextIndent + renderObjectAncestorChain(object, separator: '$dimGreenTextEsc ← $resetEsc'));
    else _internalPrint(nextIndent + 'printAncestorChainOf doesn\'t know type of $object');
  }
}