def enable_global_typelogged_decorator(flag = True, retrospective = True):
    """Enables or disables global typelog mode via decorators.
    See flag global_typelogged_decorator.
    In contrast to setting the flag directly, this function provides
    a retrospective option. If retrospective is true, this will also
    affect already imported modules, not only future imports.
    """
    global global_typelogged_decorator
    global_typelogged_decorator = flag
    if import_hook_enabled:
        _install_import_hook()
    if global_typelogged_decorator and retrospective:
        _catch_up_global_typelogged_decorator()
    return global_typelogged_decorator
def enable_global_typelogged_decorator ( flag = True , retrospective = True ) : global global_typelogged_decorator global_typelogged_decorator = flag if import_hook_enabled : _install_import_hook ( ) if global_typelogged_decorator and retrospective : _catch_up_global_typelogged_decorator ( ) return global_typelogged_decorator
Enables or disables global typelog mode via decorators.
    See flag global_typelogged_decorator.
    In contrast to setting the flag directly, this function provides
    a retrospective option. If retrospective is true, this will also
    affect already imported modules, not only future imports.