Searched refs:buffer_hdl (Results 1 – 2 of 2) sorted by relevance
51 def add_log_caching_handler(buffer_hdl=None): argument53 if buffer_hdl is None:54 buffer_hdl = BufferHandler()55 buffer_hdl.thread = threading.currentThread().ident56 buffer_hdl.setFormatter(logging.Formatter(Variables.report_vars.log_format))59 logger.platform_log.handlers.append(buffer_hdl)60 return buffer_hdl63 def del_log_caching_handler(buffer_hdl): argument65 if buffer_hdl is None:70 handlers.remove(buffer_hdl)[all …]
137 add_log_caching_handler(buffer_hdl=suite_log_buffer_hdl)