podhmo / metashape

0 stars 1 forks source link

time stamps for logs required. #119

Open manand881 opened 2 years ago

manand881 commented 2 years ago

as Metashape writes log files for the processes that are underway, id appreciate it if it timestamps for each line so i could analyze the logs better.

podhmo commented 2 years ago

Do you want timestamp?

podhmo commented 2 years ago

You use metashape as library or command ( command means python -m metashape.outputs.openapi ) ?

podhmo commented 2 years ago

If you use this as a library, fortunately, logging.basicConfig() with format option maybe work.

https://docs.python.org/3/library/logging.html#logging.basicConfig