MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / get_logger

Function get_logger

scripts/repousse.py:35–40  ·  view source on GitHub ↗
(level)

Source from the content-addressed store, hash-verified

33 return parser.parse_args();
34
35def get_logger(level):
36 numeric_level = getattr(logging, level, None);
37 if not isinstance(numeric_level, int):
38 raise ValueError('Invalid log level: {}'.format(level));
39 logging.basicConfig(level=numeric_level);
40 return logging.getLogger("PyMesh.Triangulation");
41
42def drop_zero_dim(wires):
43 # Trim zero dimension.

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected