MCPcopy
hub / github.com/hyperopt/hyperopt / make_log_handler

Method make_log_handler

hyperopt/mongoexp.py:1022–1027  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1020 self.logfilename = logfilename
1021
1022 def make_log_handler(self):
1023 self.log_handler = logging.FileHandler(self.logfilename)
1024 self.log_handler.setFormatter(
1025 logging.Formatter(fmt="%(levelname)s (%(name)s): %(message)s")
1026 )
1027 self.log_handler.setLevel(logging.INFO)
1028
1029 def run_one(self, host_id=None, reserve_timeout=None, erase_created_workdir=False):
1030 if host_id == None:

Callers 1

run_oneMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected