MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / init_logger

Function init_logger

tools/ci/file_check.py:21–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19
20
21def init_logger():
22 log_format = "[%(filename)s %(lineno)d %(levelname)s] %(message)s "
23 date_format = '%Y-%m-%d %H:%M:%S %a '
24 logging.basicConfig(level=logging.INFO,
25 format=log_format,
26 datefmt=date_format,
27 )
28
29
30class CheckOut:

Callers 1

checkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected