<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def exit(exit_code=0):
 """ Shuts down current process logging, associated handlers and then exits to system. :param exit_code: System exit code. :type exit_code: Integer or String or Object :note: **exit_code** argument is passed to Python :func:`sys.exit` definition. """


    LOGGER.debug("> {0} | Exiting current process!".format(__name__))

    LOGGER.debug("> Stopping logging handlers and logger!")
    for handler in LOGGER.handlers:
        foundations.verbose.remove_logging_handler(handler)

    sys.exit(exit_code)