()
| 6 | |
| 7 | |
| 8 | def _basic_config() -> None: |
| 9 | # e.g. [2023-10-05 14:12:26 - opencode_ai._base_client:818 - DEBUG] HTTP Request: POST http://127.0.0.1:4010/foo/bar "200 OK" |
| 10 | logging.basicConfig( |
| 11 | format="[%(asctime)s - %(name)s:%(lineno)d - %(levelname)s] %(message)s", |
| 12 | datefmt="%Y-%m-%d %H:%M:%S", |
| 13 | ) |
| 14 | |
| 15 | |
| 16 | def setup_logging() -> None: |