#!-usr-bin-env python3

import logging
import os

# ================================================================
# cofigure log
# ================================================================
logging.basicConfig(
level=logging.ERROR,
format='%(asctime)s %(filename)s[line:%(lineno)d] %(levelname)s %(message)s',
datefmt='%a, %d %b %Y %H:%M:%S',
filename='.\log\map_annotation.log',
filemode='a')

 

try:

  

except Exception as e:
   print("Error: multipleAnnotation except" + str(e))
   ogging.error(str(e))

 

相关文章:

  • 2022-12-23
  • 2021-12-11
  • 2022-12-23
  • 2021-07-05
  • 2021-11-18
  • 2021-06-24
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-19
  • 2021-12-10
  • 2022-12-23
相关资源
相似解决方案