MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / log_exit

Function log_exit

tools/sampcd_processor_utils.py:539–547  ·  view source on GitHub ↗
(arg=None)

Source from the content-addressed store, hash-verified

537
538
539def log_exit(arg=None):
540 if arg:
541 _logger = logger.warning
542 else:
543 _logger = logger.info
544
545 _logger("----------------End of the Check--------------------")
546
547 sys.exit(arg)
548
549
550def init_logger(debug=True, log_file=None):

Callers 4

print_summaryMethod · 0.90
check_test_modeFunction · 0.85
get_docstringFunction · 0.85
check_old_styleFunction · 0.85

Calls 1

exitMethod · 0.80

Tested by

no test coverage detected