Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

        def setup_logging(args, defaults):
    global logger
    setup_compat_args(args)
    logger = commandline.setup_logging("web-platform-tests", args, defaults)
    setup_stdlib_logger()

    for name in args.keys():
        if name.startswith("log_"):
            args.pop(name)

    return logger
        


src/w/p/wptrunner-0.2.5/wptrunner/reduce.py   wptrunner(Download)
                args["log_raw"] = [f]
                args["capture_stdio"] = False
                wptrunner.setup_logging(args, {})
                wptrunner.run_tests(test_loader=self.test_loader, **args)
                wptrunner.logger.remove_handler(wptrunner.logger.handlers[0])