MCPcopy Create free account
hub / github.com/comaps/comaps / setup_logging

Method setup_logging

tools/python/maps_generator/generator/env.py:512–519  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

510
511 @staticmethod
512 def setup_logging():
513 def exception_handler(type, value, tb):
514 logger.exception(
515 f"Uncaught exception: {str(value)}", exc_info=(type, value, tb)
516 )
517
518 logging.config.dictConfig(settings.LOGGING)
519 sys.excepthook = exception_handler
520
521 @staticmethod
522 def setup_generator_tool() -> AnyStr:

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected