Browse Source

refactor: Set logging level to DEBUG in read_csv main function

mrh 1 năm trước cách đây
mục cha
commit
0cd8c7318f
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      mylib/read_encoding_cvs.py

+ 1 - 0
mylib/read_encoding_cvs.py

@@ -98,6 +98,7 @@ def read_csv(file_path: str) -> List[List[str]]:
 def main():
     from logging_config import setup_logging
     setup_logging()
+    logging.getLogger(__name__).setLevel(logging.DEBUG)
     file_path = "/home/mrh/code/excel_tool/temp/测试.csv"
     read_csv(file_path)