Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
ByteRiot
/
CandidateExplorer
like
1
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
1ee7e5c
CandidateExplorer
/
utils
/
logger.py
ishaq101
clean init
478dec6
18 days ago
raw
Copy download link
history
blame
Safe
209 Bytes
import
logging
def
get_logger
(
tag_name:
str
, level:
int
= logging.INFO
):
FORMAT =
'%(message)s'
logging.basicConfig(
format
=FORMAT, level=level)
logger = logging.getLogger(tag_name)
return
logger