MCPcopy Index your code
hub / github.com/dothinking/PyAddin / set_logger

Function set_logger

pyaddin/resources/scripts/utils/context.py:43–46  ·  view source on GitHub ↗

set logger based on configuration file under working path.

(working_path:str)

Source from the content-addressed store, hash-verified

41
42
43def set_logger(working_path:str):
44 '''set logger based on configuration file under working path.'''
45 logger = __config_logger(working_path)
46 set(KEY_LOGGER, logger)
47
48
49def get_logger() -> logging.Logger:

Callers

nothing calls this directly

Calls 2

__config_loggerFunction · 0.85
setFunction · 0.85

Tested by

no test coverage detected