()
| 19 | |
| 20 | |
| 21 | def init_logger(): |
| 22 | log_format = "[%(filename)s %(lineno)d %(levelname)s] %(message)s " |
| 23 | date_format = '%Y-%m-%d %H:%M:%S %a ' |
| 24 | logging.basicConfig(level=logging.INFO, |
| 25 | format=log_format, |
| 26 | datefmt=date_format, |
| 27 | ) |
| 28 | |
| 29 | |
| 30 | class CheckOut: |