<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def debug(message, level=1):
 """ So we can tune how much debug output we get when we turn it on. """

    if level <= debug_level:
        logging.debug(' ' * (level - 1) * 2 + str(message))