MCPcopy Create free account
hub / github.com/LMCache/LMBenchmark / init_logger

Function init_logger

agentic/utils.py:39–48  ·  view source on GitHub ↗
(name: str, log_level=logging.DEBUG)

Source from the content-addressed store, hash-verified

37
38
39def init_logger(name: str, log_level=logging.DEBUG) -> Logger:
40 logger = logging.getLogger(name)
41
42 ch = logging.StreamHandler()
43 ch.setLevel(log_level)
44 ch.setFormatter(CustomFormatter())
45 logger.addHandler(ch)
46 logger.setLevel(logging.DEBUG)
47
48 return logger
49
50
51class AsyncLoopWrapper:

Callers 2

agentic-qa.pyFile · 0.90
AsyncLoopWrapperClass · 0.70

Calls 1

CustomFormatterClass · 0.70

Tested by

no test coverage detected