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)
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.