MCPcopy Create free account
hub / github.com/CloudOrc/SolidUI / get_logger

Function get_logger

solidui/kernel_program/config.py:25–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23
24
25def get_logger():
26 logging.basicConfig(
27 format="[%(asctime)s] %(levelname)s [%(name)s:%(lineno)s] %(message)s"
28 )
29
30 logger = logging.getLogger(__name__)
31 if "DEBUG" in os.environ:
32 logger.setLevel(logging.DEBUG)
33 return logger

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected