def EnumAndLogControl(control: Control, maxDepth: int = <NUM_LIT>, showAllName: bool = True, startDepth: int = <NUM_LIT:0>) -> None:
for c, d in WalkControl(control, True, maxDepth):<EOL><INDENT>LogControl(c, d + startDepth, showAllName)<EOL><DEDENT>
Print and log control and its descendants' propertyies.
control: `Control` or its subclass.
maxDepth: int, enum depth.
showAllName: bool, if False, print the first 30 characters of control.Name.
startDepth: int, control's current depth.