code: def setup_logging_to_stderr(python_logger, level):
    
    native = Native()
    levelno = get_numeric_level(level)
    handler = create_native_stderr_log_handler(levelno, native, stream=sys.stderr)
    python_logger.addHandler(handler)
    # Let the rust side filter levels; try to have the python side send everything to the rust logger.
    python_logger.setLevel("TRACE")
docs: We setup logging as loose as possible from the Python side,
    and let Rust do the filtering.