end method

void end([
  1. String? note
])

Implementation

void end([String? note]) {
  if (shouldLog) {
    if (note != null)
      note = '($note)';
    else note = '';
    String begin, end;
    begin = escForColor(topLevelLogColor);
    end = resetEsc;
    String objDesc = object != null ? ': $object' : '';
    _internalPrint('$indent$begin$funcName$argsString END$note$objDesc$end');
    nextDepth -= 2;
  }
}