Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
molehh
/
Malathy
like
0
No application file
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
Malathy
/
backend
/
utils
/
logger.py
molehh
Created a project
81b694e
11 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
227 Bytes
import
logging
logging.basicConfig(level=logging.INFO,
format
=
'%(asctime)s - %(levelname)s - %(message)s'
,
datefmt=
'%Y-%m-%d %H:%M'
)
def
log
(
message
):
return
logging.info(message)