Files
hatchet/python-client/hatchet_sdk/logger.py
abelanger5 cfa4b5c8f4 fix: python sdk graceful shutdown and retry errors (#118)
* fix: python sdk graceful shutdown and retry errors

* chore: address changes from review
2024-01-22 19:52:02 -05:00

13 lines
203 B
Python

import os
import sys
from loguru import logger
# loguru config
config = {
"handlers": [
{"sink": sys.stdout, "format": "hatchet -- {time} - {message}"},
],
}
logger.configure(**config)