We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 223c533 commit 9b68c04Copy full SHA for 9b68c04
1 file changed
urdf2mjcf/convert.py
@@ -887,9 +887,15 @@ def main() -> None:
887
type=str,
888
help="A JSON file containing conversion metadata (joint params and sensors).",
889
)
890
+ parser.add_argument(
891
+ "--log-level",
892
+ type=int,
893
+ default=logging.INFO,
894
+ help="The log level to use.",
895
+ )
896
args = parser.parse_args()
897
- colorlogging.configure()
898
+ colorlogging.configure(level=args.log_level)
899
900
# Parse the raw metadata from the command line arguments.
901
raw_metadata: dict | None = None
0 commit comments