Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
yym68686
/
uni-api
like
0
Running
App
Files
Files
Community
cf121cf
uni-api
/
log_config.py
yym68686
Simplify code
bcf9434
5 months ago
raw
Copy download link
history
blame
210 Bytes
import
logging
logging.basicConfig(level=logging.INFO,
format
=
"%(asctime)s - %(name)s - %(levelname)s - %(message)s"
)
logger = logging.getLogger(
"uni-api"
)
logging.getLogger(
"httpx"
).setLevel(logging.CRITICAL)