Searched refs:log_handler (Results 1 – 3 of 3) sorted by relevance
60 static log_handler_fn *log_handler; variable276 log_handler = NULL; in log_init()377 log_handler = handler; in set_log_handler()441 if (txt != NULL && log_handler == NULL) { in do_log()449 if (log_handler != NULL) { in do_log()451 tmp_handler = log_handler; in do_log()452 log_handler = NULL; in do_log()454 log_handler = tmp_handler; in do_log()
37 def start(port, log_handler): argument50 args=(server_started, port, log_handler))58 def _run(server_started, port, log_handler): argument67 logging.getLogger().addHandler(log_handler)
44 log_handler = SpongeLogHandler(log)45 logging.getLogger().addHandler(log_handler)57 logging.getLogger().removeHandler(log_handler)