def outdent(all=False):
    """
    Decrements global indenting level.
    Should be called whenever leaving a structural logging section.
    """
    global __level
    if all:
        __level = 0
    else:
        __level -= 1
