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

Function get_logger

scripts/svg_to_mesh.py:42–47  ·  view source on GitHub ↗
(level)

Source from the content-addressed store, hash-verified

40 return parser.parse_args();
41
42def get_logger(level):
43 numeric_level = getattr(logging, level, None);
44 if not isinstance(numeric_level, int):
45 raise ValueError('Invalid log level: {}'.format(level));
46 logging.basicConfig(level=numeric_level);
47 return logging.getLogger("PyMesh.Triangulation");
48
49def drop_zero_dim(wires):
50 # Trim zero dimension.

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected