<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def activate_debug():
 """Activate debug logging on console This function is useful when playing with python-textops through a python console. It is not recommended to use this function in a real application : use standard logging functions instead. """

    ch = logging.StreamHandler()
    ch.setLevel(logging.DEBUG)
    logger.addHandler(ch)
    logger.setLevel(logging.DEBUG)